Skip to content

Instantly share code, notes, and snippets.

@ward
Created January 18, 2012 22:23
Show Gist options
  • Save ward/1636203 to your computer and use it in GitHub Desktop.
Save ward/1636203 to your computer and use it in GitHub Desktop.
Old mIRC input mode script
; 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