mass modes

By paNix3d on May 14, 2005

this is a newer versionof my massban script some people were asking me to make just a masskick so here it is along with the mass kik/ban

i fixed the infanite loop problem too soo enjoy and added a menu

;::::MASSMODES::::by:paNix3d::::
;:::::::::::::::::::::::::::::::
;FIXED: bracket at end of command menu

alias massk {
  set %m 1
  :jump1
  set %mnick $nick(#,%m)
  if (%mnick == $null) goto end
  if (%mnick == $me) { /inc %m | goto jump1 }
  if (%mnick == %except) { /inc %m | goto jump1 }
  if (%mnick != $me) { /kick # %mnick }
  inc %m
  goto jump1
  :end

}

alias massb {
  set %m 1
  :jump1
  set %mnick $nick(#,%m)
  if (%mnick != $me) {  mode # +b %mnick | kick # %mnick }
  if (%mnick == $null) goto end
  if (%mnick == $me) { inc %m | goto jump1 }
  if (%mnick == %except) { inc %m | goto jump1 }
  inc %m
  goto jump1
  :end
}
;::::::
;menu::
;:::::: 
menu * {
  .massmodes
  ..masskick: massk
  ..massban: massb
}

Comments

Sign in to comment.
Hawkee   -  May 31, 2005

Okay guys, keep it down. Let\'s all play nice!

 Respond  
Yoinx   -  May 31, 2005

You should also use tokens in your variables and check to see if you have the nick as a token in the variable. So you could have multiple excepts

 Respond  
PoiXon   -  May 15, 2005

t0k3d, everyone starts like this

 Respond  
TehMize   -  May 14, 2005

What about adding another menu for excepts so someone doesn\'t have to type /set etc. to add an except. Also, what about if (%mnick isin %except) so that you can add more than one person to excepts?

 Respond  
paNix3d   -  May 14, 2005

and liquid ne suggestions.

 Respond  
paNix3d   -  May 14, 2005

and superego becuause im planning to add to it

 Respond  
paNix3d   -  May 14, 2005

hey t0k3d, stfu im trying to learn this shit here.. so just take it easy

 Respond  
t0k3d   -  May 14, 2005

lol panix3d, your a dumbshit, why dont you actualy learn mirc scripting instead of pretending you know it...

 Respond  
supergeo   -  May 14, 2005

.massmodes ??? Why not massmodes, then have the others be .masskick and .mass ban....

 Respond  
LIQUID_NiTrO   -  May 14, 2005

Instead of using 3 different gotos you could just use a while loop. That\'s their entire purpose...

 Respond  
PoiXon   -  May 14, 2005

your missing a bracket at the end of the menu

 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.