Created
January 18, 2012 22:23
-
-
Save ward/1636203 to your computer and use it in GitHub Desktop.
Old mIRC input mode script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; Allows setting modes by simply typing "+MODE" or "-MODE" | |
on *:INPUT:#:{ | |
if (!$inpaste && !$ctrlenter && $regex($1,/^[+-][qaohv\Q $+ $remove($chanmodes,$chr(44)) $+ \E]/)) { | |
haltdef | |
mode $chan $$1- | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment