mIRC Homepage
Posted By: LostServ $nick() problems - 01/01/05 08:25 PM
Code:
on 1:join:#: {
  if ($nick == $me) {
    echo 3 $chan [Opped: $nick(#,0,o) HalfOpped: $nick(#,0,h) Voiced: $nick(#,0,v) Normal: $nick(#,0,a) $+ ]
  }
}

No matter what channeI join it returns:
[Opped: 0 HalfOpped: 0 Voiced: 0 Normal: 1]
Posted By: FiberOPtics Re: $nick() problems - 01/01/05 08:28 PM
Click
Posted By: LostServ Re: $nick() problems - 01/01/05 08:42 PM
Thanks, got it working smile
Posted By: FiberOPtics Re: $nick() problems - 01/01/05 08:57 PM
Welcome.
Posted By: LethPhaos Re: $nick() problems - 04/01/05 09:15 PM
echo -tc topic $chan * Chanmode: $chan($chan).mode

What if I want to add this information to the echoes when I join a channel?
Posted By: SladeKraven Re: $nick() problems - 04/01/05 09:32 PM
It can't be done unless you change numeric 366 to 324.
Code:
raw 324:*: { 
  haltdef
  echo -tc topic $2 Total: $nick($2,0,a) * Operators: $nick($2,0,o) Voices: $nick($2,0,v) chanmode $chan($2).mode 
}
Posted By: LethPhaos Re: $nick() problems - 04/01/05 09:53 PM
Thanx, works fine.
Posted By: SladeKraven Re: $nick() problems - 06/01/05 02:07 PM
You're welcome.
© mIRC Discussion Forums