This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

No Manual Voice

Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
Post Reply
L
LiquidWax
Voice
Posts: 1
Joined: Mon Sep 25, 2006 6:36 am

No Manual Voice

Post by LiquidWax »

Hey guys, I'm pretty much looking for a script that does not allow ops to manually voice people because at the moment voices and kick/ban and what not. I don't want ops giving regular users this priv without my authorisation. Is anyone able to help me with some mirc code or a tcl that could run on a bot where I could just add users to some sort of list to give them authorisation to be voiced?

let me know if anyone has ever done anything like this.

ryan
w
whittinghamj
Op
Posts: 103
Joined: Sun May 21, 2006 4:50 pm

Post by whittinghamj »

This should do the trick for you.

Code: Select all

bind mode - * check_devoice 
proc check_devoice {nick host hand chan mode target} { 
 if {$mode == "+v" && ![isbotnick $nick] && ![isbotnick $target]} { 
  pushmode $chan "-v" $target 
 } 
} 
Post Reply