mIRC Home    About    Download    Register    News    Help

Print Thread
#159076 13/09/06 11:04 AM
Joined: Aug 2004
Posts: 3
S
systemX Offline OP
Self-satisified door
OP Offline
Self-satisified door
S
Joined: Aug 2004
Posts: 3
I noticed that if you have this line below,

on 1:JOIN:#6:30: {
mode #6:30 +o $nick
}

it doesnt work.

what im trying to say is will be there be support for channel names that have semi colons in them? like #6:30 for example.

#159077 13/09/06 11:08 AM
Joined: Sep 2005
Posts: 2,881
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,881
You can already do that..

Code:
on *:join:#:{
  if ($chan == #6:30) {  }
}

#159078 13/09/06 11:26 PM
Joined: Sep 2003
Posts: 4,230
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
on *:join:$($+(#6,$chr(58),30)):{ }

$chr(58) is :
$+() makes it #6:30
$() makes it work there

Its just a fact of life that mirc searches for the : as the field seperators for the event, so u have to hid it in a $chr() and all the stuff around it.

#159079 14/09/06 02:09 PM
Joined: Dec 2002
Posts: 1,541
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Dec 2002
Posts: 1,541
I was thinking that same thing but wasnt sure smile Ive never used it before


Those who fail history are doomed to repeat it

Link Copied to Clipboard