Moderate Chatroom

By craighton on Nov 19, 2009

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
}

Comments

Sign in to comment.
SnowderBlazer   -  May 08, 2012

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
}
}

of adding an option to devoice all voiced ?

 Respond  
Cracker200   -  Nov 22, 2009

lolol

 Respond  
CadetAndrew   -  Nov 21, 2009

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.

 Respond  
Jethro   -  Nov 20, 2009

Yes, Nep...I was gonna do that, but craig showed /mod and /unmod alias, and I thought it'd be best to keep it as original as possible.

 Respond  
^Neptune   -  Nov 20, 2009

Ghost-writer, most of the best scripts on here are in fact aliases which make the life of an mIRC far easier.

Anyways, why not just combine these completely?

alias mod { mode $chan $iif(m isincs $chan(#).mode,-m,+m) }
 Respond  
Jethro   -  Nov 19, 2009

Yup...lol. I was actually suggesting this:

alias mod { mode $chan $iif(m !isincs $chan(#).mode,+m) }
alias unmod { mode $chan $iif(m isincs $chan(#).mode,-m) }

To be sure that +m or -m has already been set, so that it won't be set again and again unnecessarily.

 Respond  
Cracker200   -  Nov 19, 2009

@Jethro Type some thing wrong or?

 Respond  
Cracker200   -  Nov 19, 2009

Lmao.

 Respond  
Jethro   -  Nov 19, 2009

opps my bad..lol Ignore this.

 Respond  
Cracker200   -  Nov 19, 2009

@craighton
Ignore him he's a Ignorent fúck :)

 Respond  
sunslayer   -  Nov 19, 2009

Ghost-writer> Snippet is a programming term for a small region of re-usable source code, machine code or text.this is a snippet

 Respond  
craighton   -  Nov 19, 2009

So what? a friend requested it and it works

 Respond  
Ghost-writer   -  Nov 19, 2009

this isnt a script, this isnt even a fucking snippet, its an alias.

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.