Skip to content
MSN Addons

mass spec kicker

A TG007 community discussion started by K0rupt.

Discussion 2 posts
Page 1 of 1
Open
Topic #3136 · 2 published posts · 460 views

hey anyone know any code that will only mass kick spec .w-o kicking other people in the room that dont have op status or owner status....is this possible

it'll look like this :

 

alias kickspecs {
set %i 1
set %c $iif($1,$1,$chan)
while (%i <= $nick(%c,0)) {
if ($nick(%c,%i) isowner %c) || ($nick(%c,%i) isop %c) { inc %i }
else { mode %c -v $nick(%c,%i) | inc %i }
}
}

 

usage: /kickspecs %#roomname ( u dont need to specify a room name if u want to kick specs in the current room yr in )

 

but b4 using this u'll need to write a code that kicks when raw 906/908 is triggered, i just gave the main idea.

 

hope that helped somehow!

on me:*:join:#:hop #