This Is A Bot Akick Script That AKicks da users from a Channel jst typ !Addshit
!Delshit
!Shitlist
on*:Text:*:#: {
if ($strip($1) == !Addshit) {
msg chanserv akick $chan add $address($2,2) << U WeR AdDeD To My ShiTLisT By $nick >>
}
on*:Text:*:#: {
if ($strip($1) == !Delshit) {
msg chanserv akick $chan del $address($2,2)
}
on*:*Text*:#: {
if ($strip($1) == !Shitlist
msg chanserv akick $chan
This will make it capable of everywherechat and other networks that support /cs:
alias listakick {
$iif($network != everywherechat,.cs akick,.msg chanserv) # list
}
alias delakick {
$iif($network != everywherechat,.cs,.msg chanserv) akick # del $address($$1,2)
}
alias addakick {
$iif($network != everywherechat,.cs,.msg chanserv) akick # add $address($$1,2) << U WeR AdDeD To My AkicKLisT By $me >>
}
Note: I don't know what the > //echo $network returns for everywherechat, but I suppose it returns the way it is.
alias addakick .cs akick # add $address($$1,2) << U WeR AdDeD To My AkicKLisT By $me >>
alias delakick .cs akick # del $address($$1,2)
alias listakick .cs akick # list
this wouldnt work in everywherechat as EWC doesnt have the .cs syntax, so it would have to be
alias addakick .msg chanserv akick # add $address($$1,2) << U WeR AdDeD To My AkicKLisT By $me >>
alias delakick .msg chanserv akick # del $address($$1,2)
alias listakick .msg chanserv # list
/addshiit /msg chanserv akick $chan add $$1 $?="reason:"
/delshiit /msg chanserv akick $chan del $$1 $?="reason:"
that should be ok for alliases, just type /addshit nickhere or /delshit nickhere.
e.g. /addshiit Snip3KitTy /delshiit Snip3KitTy
just take away 1 i as hawkee doesnt allow shiit to be posted lol
First, your text event is formatted incorrectly, and that will stop the script from working.
Second, you only need one text event along with if statements to initiate each command.
Finally, you have a couple of brackets missing that will result in an error. I hope you're not posting this code to play us for fools.
make one to access ewc on mirc