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.

!fem autovoice command

Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
Post Reply
r
rand0msan1ty
Voice
Posts: 1
Joined: Wed Mar 21, 2007 9:41 am

!fem autovoice command

Post by rand0msan1ty »

Just wondering, I run a channel and currently use mirc for autovoicing the females. However i think the eggdrop would be better. Can someone write and/or direct me to, a script that has a public command of !fem that can add users to autovoice. Not one the bot user has to type in, but a regular channel user can activate. Thanks , i appreciate it if someone can help me out !
:)
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

Code: Select all

bind pub n|n !fem add:fem

proc fem {nick uhost hand chan arg} {
 set mask [lindex [split $arg] 0]!*@*
 if {[finduser $mask] != "females"} {
  setuser females HOSTS $mask
  puthelp "privmsg $chan :Added $mask to autovoice"
 } { puthelp "privmsg $chan :$mask already autovoice" }
}
Make sure you create a handle called "females" with +v flag (or whatever is considered autovoice for you). Basically, this script will just add nick!*@* to the "females" handle when !fem nick is typed on channel (by an owner).
Post Reply