Simple script on how to moderate and moderate the chat room.
This is simple and straight forward, if you wish to moderate the chat type "/mod"
and when you wish to unmoderate type "/unmod"
;@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
;@@@ Kick / Kick-Ban Script @@@
;@@@ By Craighton @@@
;@@@ http://blog.logiclounge.net @@@
;@@@ If you need help join @@@
;@@@ Server: irc.logiclounge.org @@@
;@@@ Channel: #scripts @@@
;@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
alias mod {
mode $chan +m
}
alias unmod {
mode $chan -m
}
Here's another way you could do it:
alias mod {
set %moderate.time $$?="How long (in seconds) would you like this chat room to be moderated?"
if ($me isopin $active) {
/mode $active +m | /timermod 1 %moderate.time mode $active -m | unset %moderate.time
}
}
That might be a little bit easier.
You could use /mod and it will moderate the channel for however long you tell it to.