egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

!fem autovoice command

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests
View previous topic :: View next topic  
Author Message
rand0msan1ty
Voice


Joined: 21 Mar 2007
Posts: 1

PostPosted: Wed Mar 21, 2007 9:47 am    Post subject: !fem autovoice command Reply with quote

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 !
Smile
Back to top
View user's profile Send private message
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Wed Mar 21, 2007 7:00 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber