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.
Old posts that have not been replied to for several years.
J
Johnny_was
Post
by Johnny_was » Tue Mar 05, 2002 9:33 am
Hi, I need a script that will autovoice users on joining that I have flagged as '+S'
I am using 1.6.7 and I have tried a few autovoice scripts but none seem to work..
Any help would be appreciated.
Thanks
T
TriPpen^KiSs
Post
by TriPpen^KiSs » Tue Mar 05, 2002 10:59 am
A very basic TCL
bind JOIN - * do_chan
proc do_chan {nick uhost hand chan} {
if {[matchattr $nick +S] == "1"} {
pushmode $chan +v $nick
}
}
If you need anymore help email
kissmine69@optushome.com.au
caesar
Mint Rubber
Posts: 3778 Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory
Post
by caesar » Tue Mar 05, 2002 11:32 am
- Code -
bind JOIN S * voice:S
proc voice:S {nick uhost hand chan} {
pushmode $chan +v $nick
}
- Code -
Souperman
Halfop
Posts: 69 Joined: Sat Feb 02, 2002 8:00 pm
Location: Cape Town, South Africa
Contact:
Post
by Souperman » Tue Mar 05, 2002 4:19 pm
Code: Select all
bind JOIN - * do_chan
proc do_chan {nick uhost hand chan} {
if {[matchattr $nick +S] == "1"} {
pushmode $chan +v $nick
}
}
Why would you do matchattr when the bind system already allows you to specify the flags which will trigger it?
J
Johnny_was
Post
by Johnny_was » Thu Mar 07, 2002 7:52 am
much appreciated
2nd one works a treat..