Jump to content

Custom Theme


S3T

Recommended Posts

On *:input:#: {

if (/ != $left($1,1)) {

^^ i dont understand that, if someone could help me please

so you can still use

/me ..ect.. without showing "/me" in the theme

 

if ya get me.. lol

Link to comment
Share on other sites

Guest X-Fusion

on *:INPUT:*: {
  if (/* iswm $1) return
  else {
    privmsg $target $1-
    var %p $left($nick($chan,$me).pnick,1)
    if (%p isalnum) %p = $chr(160)
    if (#* iswm $target) echo $target [[ $+ %p $+ ]]  $+ $me : $1-
    else echo $target  $+  $me : $1-
    haltdef
  }
}

Haltdef ALWAYS goes at the end of an input or text code. As you can see from mine, it does a few things. It checks to see if the wildcard for / is there, which enables you to do two // for force entering commands into mIRC. It also sets a variable(%p) that checks for the users status (Owner, Host, Voice, Nonvoice) and sets it as a prefix for the actual echo. I find it easier to do that way then to keep doing ifs, elseifs to check for owner/host/etc status.

Link to comment
Share on other sites

Guest X-Fusion

raw 332:*:{ echo -a The topic of this channel is: $1- }

Now, if $1- doesnt work, try $2-, because I believe the format is channel topic .. which may return #channel this is my topic. So, $2- would return just this is my topic. Hope this helps.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...