moderator says operator says

By nikooo777 on May 26, 2009

hi :) i made a very simple script for all your Voiced users and for opped users.
copy paste it on your remote and then in chat write:
for voiced users: "@ "
for oped users: same as above
without quotes!!!
this simple script is useful when there is alor of spam and nobody care of what you say... so what better than:

MODERATOR (yourname): don't spam!!!! <---- green
or
OPERATOR (yourname): spam = ban!!! <---- red

well, comment and let me know if you like it or not :P
bb!

;///////*mod text*////////
;///made by Nikooo777///

on *:text:@ *:#: { 
  if ($nick isop #) {
    msg $chan 4 OPERATOR  ( $+ $nick $+ ): $2-
  }
  else {
    if ($nick isvoice #) {
      msg $chan 9 MODERATOR ( $+ $nick $+ ): $2-
    }
  }
}

Comments

Sign in to comment.
PATX   -  Jun 14, 2009

rating: 7/10
reason: idk. it is useful and i like it. the code is also pretty neat.

and Weasel: pls dont help ppl! we do not need more Weasels here. no ofense.

 Respond  
nikooo777   -  Jun 09, 2009

sorry but i dont get it... i am new and i am learning how to script ^^ what does this mean?

 Respond  
Jethro   -  Jun 08, 2009

I recommend the use of $strip so when a person types @ with control codes, it will get triggered too:

on *:text:*:#: { 
  $iif($strip($1) == @,$iif($nick isop #,.msg # 4 OPERATOR  ( $nick ): $2-,$iif($nick isvoice #,.msg # 9 MODERATOR ( $nick ): $2-)))
}

The code I provide here works exactly the same.

 Respond  
nikooo777   -  Jun 08, 2009

yeah thx i knew it and fixed all :) how is it now?

 Respond  
Jethro   -  Jun 06, 2009

Nikooo777, you know that you have an error in your script: > ($nick): <- this will return ($nick): in chat. You need to use

$+($nick,:)

to make it work. Also, having two on text events is unnecessary; this is all you need:

on *:text:*:#: { 
  if ($1 == $str(@,2)) && ($nick isop $chan) {
    .msg $v2 $+($chr(3),04,OPERATOR) $+($nick,:) $2-
  }
  if ($1 == @) && ($nick isvoice $chan) {
    .msg $v2 $+($chr(3),09,MODERATOR) $+($nick,:) $2-
  }
}
 Respond  
nikooo777   -  Jun 06, 2009

well 2 thing:

on *:input:#: {
if ($me isop #) { msg $chan 4 $1- | halt }
if ($me isvoice #) { msg $chan 9 $1- | halt }
if ($me isreg #) { msg $chan $1- | halt }
}

i want that when somebody write IN THE CHAT "@ " it shows.... and not everytimes you write....

 Respond  
Blubble   -  May 30, 2009

MOAR IDIOTS PL0X! lul..

 Respond  
Jonesy44   -  May 30, 2009

Sure. could be both

 Respond  
Kirbeh_Pr0nz   -  May 29, 2009

hmmmm, why not both?

 Respond  
Jonesy44   -  May 29, 2009

What, faster speed wise - as in, to download? or less idiots - faster?

 Respond  
Kirbeh_Pr0nz   -  May 28, 2009

:o hawkee.com is getting faster, anyone else get that notice? :P

 Respond  
MaxEvans   -  May 28, 2009

Wow.. first of all. To Daniel, when someone suggests a better way of doing something, they're not reposting the code, just explaining how it could be easier to write. It's called constructive criticism, and the easier term "helping".

Also, weasel does not rule.

And I agree with jonesy44. Take the halt off. ;D Haha

 Respond  
Kirbeh_Pr0nz   -  May 28, 2009

i forgot how to quote someone.

if ($me isin #yourmom) {
if ($me isprotect #yourmom) { halt }
else msg #yourmom i like it better unprotected, bom chicka wa wahh
}
 Respond  
Jonesy44   -  May 28, 2009

If you're in his mom, don't fucking halt! keep going ;)

 Respond  
Kirbeh_Pr0nz   -  May 28, 2009

this would also work
Code:
on *:input:#: {
if ($me isop #) { msg $chan 4 $1- | halt }
if ($me isvoice #) { msg $chan 9 $1- | halt }
if ($me isreg #) { msg $chan $1- | halt }
}
try that out...
Also, you can prolly add

 if ($me isin %yourmom) { halt } 

somewhere in there.

 Respond  
blitzz   -  May 28, 2009

jonesy44 is getting bang!

 Respond  
Jonesy44   -  May 28, 2009
 Respond  
Weasel   -  May 27, 2009

waht is the direct link to upload pics?

 Respond  
_Daniel_   -  May 27, 2009

Weasel Rulez xD

 Respond  
napa182   -  May 27, 2009

Weasel do you even bother reading what the code is for?

Now with that being said what you did will only defeet the purpose of their code. They dont want to trigger it them selvs it's for the mods of the channel to use.

also Weasel you should learn abit more before you go around trying to help others. All you are doing is showing bad scripting habbits.

 Respond  
Weasel   -  May 27, 2009

this would also work

 on *:input:#: {
if ($me isop #) { msg $chan 4 $1- | halt }
if ($me isvoice #) { msg $chan 9 $1- | halt }
if ($me isreg #) { msg $chan $1- | halt }
}

try that out...

 Respond  
Spanky   -  May 27, 2009

/me laughs [size=29] HA [/size]

 Respond  
Jonesy44   -  May 27, 2009

lmao! $nick isIN #?

 Respond  
napa182   -  May 27, 2009

Weasel Said:

might also be useful

if ($nick isin #) && ($nick isop #)

ect. would be useful

I hope you are joking Weasel =/

 Respond  
Jonesy44   -  May 27, 2009

Hahahahah

 Respond  
Weasel   -  May 27, 2009

might also be useful

if ($nick isin #) && ($nick isop #) 

ect. would be useful

 Respond  
Prelude   -  May 27, 2009

why the "!!!"? they make you look like a nublet

lol i dont think its the !!! that do that AJ. It just puts it over the top.

 Respond  
Jonesy44   -  May 27, 2009

why the "!!!"? they make you look like a nublet

 Respond  
nikooo777   -  May 27, 2009

well, thx for all the issues :) i will update the code.... and btw.. i forgot to change the snippet title ^^ it should be !!!mod&op says!!! and not admin/owner ^^

 Respond  
_Daniel_   -  May 27, 2009

tnx

 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.