Deleted br0
DELETEDDELETEDDELETEDDELETEDDELETEDDELETEDDELETEDDELETEDDELETEDDELETEDDELETEDDELETEDDELETEDDELETEDDELETEDDELETEDDELETEDDELETEDDELETEDDELETEDDELETEDDELETEDDELETEDDELETEDDELETEDDELETEDDELETEDDELETEDDELETEDDELETEDDELETEDDELETEDDELETEDDELETEDDELETEDDELETEDDELETEDDELETEDDELETEDDELETEDDELETEDDELETEDDELETEDDELETEDDELETEDDELETEDDELETEDDELETEDDELETEDDELETEDDELETEDDELETEDDELETEDDELETEDDELETEDDELETEDDELETEDDELETEDDELETEDDELETEDDELETEDDELETED
hi, I need help, they ban my address on my favorite channel on DALnet I don't know why so now I can't join the channel please help me, can you give me a code to unban my address. And one thing that I really don't know is to where should I type or paste the code should I type it on the scripts editor? I really don't know where please I need help.
I would just like to point out that the parser will run your if-then-else statements much quicker if you group your comparisons with more brackets, ie:
if ((this) || (that)) { DO }
is quicker than:
if (this || that) { DO }
You don't need your 'halt' statements. In fact, since you are '/whoising' people, you may want to use 'haltdef' to halt the response the IRC server gives you, since you don't want your window flooded every time you '/whois' for a mask.
Here is an 'example' rework that you may use if you want:
on *:Text:!unban *:#:{
if (($nick isop $chan) || ($nick ishop $chan)) { .enable #banunban | who $2 | set %ban_var $chan -b $2 }
else { .notice $nick Sorry, you need to be at least halfop to use this command. }
}
on *:Text:!ban *:#:{
if (($nick ishop $chan || $nick isop $chan)) { .enable #banunban | who $2 | set %ban_var $chan +b $2 }
else { .notice $nick Sorry, you need to be at least halfop to use this command. }
}
#banunban off
raw 315:*:.disable #banunban | .mode $gettok(%ban_var,1,32) $gettok(%ban_var,2,32) $address($gettok(%ban_var,3,32),2) | haltdef
raw 352:*:haltdef
#banunban end
i try. but dont know why, dont works with me
(:13:35:54) (@rhasttaff) !ban Testers
Testers on %#rasta #rhasttaff
Testers using light.MindForge.org MindForge
Testers End of /WHOIS list.
+b No such nick/channel
;#####
(:13:43:38) (@rhasttaff) !unban Testers
Testers is vIRCiado@mf-30D8F512.bnut3702.dsl.brasiltelecom.net.br * vIRCiado
Testers on %#rasta #rhasttaff
Testers using light.MindForge.org MindForge
Testers End of /WHOIS list.
-b No such nick/channel