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.
-
stevegarbz
- Op
- Posts: 104
- Joined: Sat Dec 04, 2004 7:25 pm
Post
by stevegarbz »
Code: Select all
bind pubm - "*" check:advertise
proc check:advertise {nick uhost hand chan text} {
if {![isbotnick $nick] && [string match "*#*" $text] && [string equal -nocase "#scrim" $chan] && ![isop $nick $chan]} {
putquick "PRIVMSG chanserv :$chan tb $nick 1h Advertising is prohibited in $chan! Please refer to the GameSurge AUP: www.gamesurge.net/aup (Rule 3 - 1 Hour Ban)"
}
}
putlog "Scrim Adv Loaded"
What would I add in that so it doesn't ban voiced users either?
&& ![isvoice $nick $chan]
?
thanks.
-
Sir_Fz
- Revered One
- Posts: 3794
- Joined: Sun Apr 27, 2003 3:10 pm
- Location: Lebanon
-
Contact:
Post
by Sir_Fz »
Try it
