Simple advanced kick/ kickban script for ur bot. U can use it on #channel1 for kick or kickban someone on #channel32 (for example) if ur bot have there higher level (on #channel32) than user which u want to punish
Change:
BotOwnerNickName - To ur IRC nickname (Abi1 , NoName etc)
Fell free to modify it to ur own uses
on *:text:!adkb *:#privatechannel: {
if ($nick == BotOwnerNickHere) || ($2- != $null) {
mode $2 +b $3
kick $2 $3 $4-
}
else
msg #privatechannel How to use !advencedkickban command:
msg #privatechannel !adkb <channel> <nick/host> <reasson>
}
}
````````````````This one is only for kick user from channel````````````````
on *:text:!adk *:#privatechannel:{
if ($nick == BotOwnerNickName) || ($2- != $null) {
kick $2 $3 $4-
}
else
msg #privatechannel How to use !advnecedkick command:
msg #privatechannel !adk <channel> <nick> <reasson>
}
}
idk why do u think that it's Advanced kick or kb.
;1. u don't must to Check ($2- != $null) u can use $$2 -
on *:text:!adkb *:#privatechannel: {
mode $$2 +b $$3
kick $$2 $$3 $4-
}
;2.u can use
on @*:TEXT:!k*:#:{
if ($nick == user) { kick $$2 $$3 $4 }
}
;or
on @*:TEXT:!k *:#:{
if ($nick == user) { kick $chan $$2 $3- }
}
simpely