Op.Admin Color script

By Weasel on May 28, 2009

this script makes op be red, halfop be orange, voice be blue. {while talking} (admin/owner red too)
****note do NOT use identify of chan password commands are sent as messages!!!*****

if you can make it so commands work that'd be nice.

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

Comments

Sign in to comment.
Weasel   -  Jun 13, 2009

i also forgot...

 $calc($$2 * 60) 

duhhhhhh

 Respond  
PATX   -  Jun 12, 2009

wtf is dis????

 Respond  
Testor   -  May 29, 2009

140212:142412.1413       11@Wetty11: test
140212:142412.1413       11@Wetty11: 04test

Any Ideas...?

 Respond  
napa182   -  May 29, 2009

Weasel go ask in the forum ffs or go to a server with a scripting room.

 Respond  
Weasel   -  May 29, 2009

lol, ps. how do i calc in code.
eg 2m == 120 seconds? for example if i said *m calcs $2 (num before m) times 60?

 Respond  
WorldDMT   -  May 29, 2009

hi

[quote]this script makes op be red, halfop be orange, voice be blue[quote]

loooool :D

 Respond  
slacker   -  May 28, 2009

lol force of habbit ;x fixed

 Respond  
Jethro   -  May 28, 2009

Slacker, why did you include $nick(#,$me,ohv) when you already indicated that in your $iif identifier? It's not necessary.

 Respond  
slacker   -  May 28, 2009

just one of the manny ways to make this

on *:input:#: {
  if ($left($1,1) != / && !$ctrlenter) {
    msg # $+($iif($me isop #,04,$iif($me ishop #,07,$iif($me isvoice #,12))),$1-) 
    haltdef
  }
}

also why did you post this as a snippet when you left it as a comment on someone elses code? you should really wait an make somthing worth posting instead of posting crap over and over. Dont be in such a rush to post something.

 Respond  
Firstmate   -  May 28, 2009

There's ways to check if the user types a command.

if ($left($1,1) != / && !$ctrlenter)
 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.