compatible code mIRC6.2 - 09/02/15 09:03 PM
I use mIRC 7.32.
Write a few lines of code for a friend who use mIRC 6.2 (and he do not want to update).
There is a line that is not interpreted well, gives no error, but the comparison not runs.
Is the No. 4 line, this code ($iif):
Any idea why it does not work?
P.D
That line compares the IDENT user, whether it is 'ircap' no bans the ident, if different to 'ircap' if the bans.
Write a few lines of code for a friend who use mIRC 6.2 (and he do not want to update).
There is a line that is not interpreted well, gives no error, but the comparison not runs.
Is the No. 4 line, this code ($iif):
Code:
if ($1 == kb) { mode $chan +b $address($2,2) mode $chan +b $2 $iif($remtok($gettok($address($2,0),1,64),*,0,33) != ircap,mode $chan +b $remtok($gettok($address($2,0),1,64),*,0,33)) kick $chan $2 $3- }
Any idea why it does not work?
P.D
That line compares the IDENT user, whether it is 'ircap' no bans the ident, if different to 'ircap' if the bans.