/remban - remove bans with wildcards!
+ 0 likes
Please Register to submit score.
| Average Score | 0.0 |
| Scores Submitted | 0 |
| Date Added | Dec 31, 2007 |
| Last Updated | Dec 31, 2007 |
Introduction
Allows you to specify a wildcard instead of a full address. It's
different from /ban -r due to the alias removing multiple bans at a
time.
/remban <wildcard> <channelname>
**examples**
**//remban *Zaphod* #
** The above would remove all bans matching *Zaphod*
** (EX: ~Zaphod@mirc.com would be removed if it existed in the ibl)
**versions**
Saturday Dec. 29 2007 Snippet created
Monday Dec. 31 2007 Cleaned up the code
Monday Dec. 31 2007 Fixed a bug that removed each ban one at a time, creating a mode flood.
** ^ Yes I spend my time. If you find any bugs, please don't hesitate to post! **
- Tested on a clean channel (meaning I was the only one in it) using this alias:
| Code: |
| alias settestban { var %x = 1, %t while (%x <= 13) { %t = %t $+($+(asdadasdasd,%x),@testing,.,com) if ($numtok(%t,32) == $modespl) { mode # $+(+,$str(b,$v1)) %t %t = "" } inc %x } if (%t) mode # $+(+,$str(b,$modespl)) %t } |



