| View previous topic :: View next topic |
| Author |
Message |
rand0msan1ty Voice
Joined: 21 Mar 2007 Posts: 1
|
Posted: Wed Mar 21, 2007 9:47 am Post subject: !fem autovoice command |
|
|
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 !
 |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Wed Mar 21, 2007 7:00 pm Post subject: |
|
|
| Code: | 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). _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
|