need help - 24/06/08 10:26 AM
Hi guys,
I'm working on a script, and it works a bit:
This part works:
on *:input:*:{
if (($1 = !add) && ($nick = $me ) && ($chan = #alexander)) {
/cs aop # add $2
/cs op # $2
}
}
This part doesn't work:
on *:input:*:{
if (($1 = !unadd) && ($nick = $me ) && ($chan = #alexander)) {
/cs aop # del $2
/cs deop # $2
}
}
But, it is almost the same, i don't understand why the second part doesn't work...
I'm working on a script, and it works a bit:
This part works:
on *:input:*:{
if (($1 = !add) && ($nick = $me ) && ($chan = #alexander)) {
/cs aop # add $2
/cs op # $2
}
}
This part doesn't work:
on *:input:*:{
if (($1 = !unadd) && ($nick = $me ) && ($chan = #alexander)) {
/cs aop # del $2
/cs deop # $2
}
}
But, it is almost the same, i don't understand why the second part doesn't work...