Super Akick script - bot version

By LucSatise on Sep 26, 2007

This script should be added to a bot.
Syntax: `akick
The reason is optional. You must have usermode 500 or the bot wil ignore the command.

to delet type: `dakick

user version comin out soon

;Suoer Akick By Rayth/Lucsatise
on 500:TEXT:`akick*:#:{
  writeini akicks.ini AKICKS $address($2,4) Yes 
  msg chanserv akick $chan add $address($2,4) $3-
}
on 500:TEXT:`dakick*:#:{
  writeini akicks.ini AKICKS $address($2,4) No
  msg chanserv akick $chan del $address($2,4) 
}
on *:JOIN:#:{
  if ($readini(akicks.ini,AKICK,$address($nick,4)) == Yes) { cs akick $chan add $address($nick,4) }
}

Comments

Sign in to comment.
LucSatise   -  Sep 28, 2007

im doin the commands correctly
im sop in the channel
cs is on server

It akicks the user but wen i use `dakick it dnt do any of it

 Respond  
guest598594   -  Sep 27, 2007

or if u do have cs on the server, u may not have enuf power with cs

 Respond  
guest598594   -  Sep 27, 2007

couple reasons it may not work:

your inputing
your not lvl 500
*chanserv aint on the server

 Respond  
LucSatise   -  Sep 27, 2007

can someone check that this works for them cos im havin trouble :/ it worked first time i tested. if it dnt work del the snippet and i\'l fix it

 Respond  
LucSatise   -  Sep 27, 2007

the join event is in case the akick is deleted so it auto-akicks them again

 Respond  
Saeed   -  Sep 26, 2007

What is the join event for? It would have already added the user to the akick list when you typed `akick. You should add more specifications to the code, things like if ($2) && ($3-). You should also specify if $2 ison $chan to check if the nick is already in the channel. Otherwise, you will recieve an error.

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.