on *:TEXT:!kickprize:#:{
if ($1 == %c $+ !kickprize) {
msg $chan $2, you may kick/ban any member in the channel as long as they are not protected. The ban will last for 1 hour. To ban someone, use !kickban nick }
if (Sableye isin $nick) return
if (Abhishek isin $nick) return
else {
notice $nick Not allowed!
/set %kickprize $2
}
What the script is suppose to do is when a person uses !kickprize nick, that nick gets "you may kick/ban any member in the channel as long as they are not protected. The ban will last for 1 hour. To ban someone, use !kickban nick" message. I only want the command to work for Sableye and Abhishek.
For some reason it's not working. Please point out the mistakes if there are any.