massmode
mIRC Code
+ 0 likes
Please Register to submit score.
| Average Score | 5.0 (of 1 scores) |
| Date Added | Nov 03, 2009 |
| Last Updated | Nov 03, 2009 |
| Tags | massmode |
Introduction
Usage: /massmode [+/- [mode]]
Coded by Simplicity
mIRC Snippet:
massmode
Posted on Nov 3, 2009 1:07 am
Posted on Nov 3, 2009 1:07 am
Yes, I mean it. Moronic, useless comments will be deleted. Simple as that ;x
mIRC Snippet:
massmode
Posted on Nov 3, 2009 10:25 am
Posted on Nov 3, 2009 10:25 am
That is a good mass mode code, but a timer can be used to massively give out modes to people in intervals. This decreases the chances of flooding in a big channel. The double slashes are not needed. Furthermore, your code can be altered to mode people horizontally, rather than vertically. Here are what I mean:
Below is an example of giving modes horizontally:
Also, you don't want to mode yourself. I added $nick != $me to negate that occurrence.
| Quote: |
| alias massmode { var %nicks 1 | while (%nicks <= $nick(#,0)) { .timer 1 $calc(%nicks * 2) mode $!chan $1 $iif($nick(#,%nicks) != $me,$v1) | inc %nicks } } |
| Code: |
| alias massmode { var %x, %nicks 1 | while ($nick(#,%nicks)) { if ($v1 != $me) { %x = %x $v1 } | inc %nicks } | mode # $str($1,$nick(#,0)) %x } |
mIRC Snippet:
massmode
Posted on Nov 3, 2009 4:20 pm
Posted on Nov 3, 2009 4:20 pm
The code is good n BUT!! lolz
I'm sorry to be a pest like this but '|' Pipes, make it looks sloppy when it's good code hideing behind it :P
| Code: |
| alias massmode { //var %nicks 1 while (%nicks <= $nick(#,0)) { mode $chan $1 $nick(#,%nicks) inc %nicks } } |
I'm sorry to be a pest like this but '|' Pipes, make it looks sloppy when it's good code hideing behind it :P
mIRC Snippet:
massmode
Posted on Nov 3, 2009 7:01 pm
Posted on Nov 3, 2009 7:01 pm
@All of the above:
I use pipes and make my scripts condense. Thank you all for offering your opinions and suggestions, but I'd rather stick to the way I code. It's easier for me :P Thanks for the positive comments!
@Jethro_:
Most people I know usually have common sense not to use massmode in large channels (the largest I did it in was some 30 people, lmao). But good idea nonetheless, and I admit I didn't think of adding a timer to it :P Also, I know the slashes (//) aren't needed in the code, but again, it's just a personal thing. xP
I use pipes and make my scripts condense. Thank you all for offering your opinions and suggestions, but I'd rather stick to the way I code. It's easier for me :P Thanks for the positive comments!
@Jethro_:
Most people I know usually have common sense not to use massmode in large channels (the largest I did it in was some 30 people, lmao). But good idea nonetheless, and I admit I didn't think of adding a timer to it :P Also, I know the slashes (//) aren't needed in the code, but again, it's just a personal thing. xP
mIRC Snippet:
massmode
Posted on Nov 3, 2009 7:45 pm
Posted on Nov 3, 2009 7:45 pm
There are two factors you should REALLY consider nevertheless. One is the timer and the other != $me . Imagine there's a room with a 100+ population. There's no reason to mode yourself. Other than that, your code's pretty decent.
mIRC Snippet:
massmode
Posted on Nov 4, 2009 4:34 am
Posted on Nov 4, 2009 4:34 am
Lol, Grant, i was half asleep shh don't tell any one XD
mIRC Snippet:
massmode
Posted on Nov 4, 2009 7:56 am
Posted on Nov 4, 2009 7:56 am
Um... DMT, why did you post that when, Grant has posted it...? lol
mIRC Snippet:
massmode
Posted on Nov 6, 2009 12:15 am
Posted on Nov 6, 2009 12:15 am
Jethro, yeh i see now it just looked the same when i looked, be for lol.






