mIRC Home    About    Download    Register    News    Help

Print Thread
#106626 01/01/05 08:25 PM
Joined: Mar 2004
Posts: 359
L
Fjord artisan
OP Offline
Fjord artisan
L
Joined: Mar 2004
Posts: 359
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]

#106627 01/01/05 08:28 PM
Joined: Feb 2004
Posts: 2,019
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2004
Posts: 2,019


Gone.
#106628 01/01/05 08:42 PM
Joined: Mar 2004
Posts: 359
L
Fjord artisan
OP Offline
Fjord artisan
L
Joined: Mar 2004
Posts: 359
Thanks, got it working smile

#106629 01/01/05 08:57 PM
Joined: Feb 2004
Posts: 2,019
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2004
Posts: 2,019
Welcome.


Gone.
#106630 04/01/05 09:15 PM
Joined: Aug 2004
Posts: 237
L
Fjord artisan
Offline
Fjord artisan
L
Joined: Aug 2004
Posts: 237
echo -tc topic $chan * Chanmode: $chan($chan).mode

What if I want to add this information to the echoes when I join a channel?

#106631 04/01/05 09:32 PM
Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
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 
}

#106632 04/01/05 09:53 PM
Joined: Aug 2004
Posts: 237
L
Fjord artisan
Offline
Fjord artisan
L
Joined: Aug 2004
Posts: 237
Thanx, works fine.

#106633 06/01/05 02:07 PM
Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
You're welcome.


Link Copied to Clipboard