I've made a very simple remote kicking script, but i don't want that person that uses it to kick people that are on userlist (ulevel = friend)
the command is !kick $$2 $$3-
and i'm looking for a way to check if $$2 on my friends list and if so to halt.
so far I've got:
on allowkick:TEXT:!kick*:#belgium: {
if ($$2 ison #Belgium) {
if ($$2 isop #belgium) { halt }
if ($$2 isvoice #belgium) { halt }
k $$2 $$3- $+ ..kick by $nick $+
}
}
it doesn't kick ops and voices but if a friend isn't opped or voiced i don't want him to be kicked