Skip to content
MSN Addons

Mass Kick Disconnects me

A TG007 community discussion started by K0rupt.

Discussion 3 posts
Page 1 of 1
Open
Topic #2850 · 3 published posts · 590 views

|-Mass Commands-|

.Kick

..Everyone:{ set %i $nick(#,0) | :next | if $nick(#,%i) != $me kick # $nick(#,%i) %kr | dec %i | if %i > 0 goto next }

..Non Hammers Only:{ set %i $nick(#,0) | :next | if $nick(#,%i) != $me && $nick(#,%i) !isop $chan kick # $nick(#,%i) %kr | dec %i | if %i > 0 goto next }

--------------------------------------------------------------

ok this is the code i use for mass kick but for some reason when i do this kick ,it will kick one nick then disconnect me,then when i re-enter it kicks another nick, then disconnects me again, how can i fix this any help will do thanks

I've had the same code and works fine with me, maybe you have somthing else flooding you out , is there any errors or like that ?

anywayz try this

put it in ur niclist and u just need to highlight the nicks u wanna kick !!

 

.kick:kick # $snicks(#,0)

i really hate that kinda lo0ps !

personaly, i use $while loops, there:

 

alias masskick {
 .var %c = $iif($1,$1,$chan)
 .var %i 1
 while (%i <= $nick(%c,0)) {
   if ($nick(%c,%i) == $me) { inc %i }
   kick %c $nick(%c,%i) blah
   inc %i
 }
}

 

Usage: /masskick %#RoomName

 

on me:*:join:#:hop #