| View previous topic :: View next topic |
| Author |
Message |
BadAssWright Voice
Joined: 14 Aug 2005 Posts: 8
|
Posted: Tue Apr 10, 2007 3:41 pm Post subject: Flood Pub |
|
|
| okay i made a flood script, but when the user is an op i put return on but for some reason it still kicks them how would i make it stop? |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
|
| Back to top |
|
 |
Dedan Master

Joined: 09 Jul 2003 Posts: 260 Location: Memphis
|
Posted: Mon Apr 30, 2007 11:50 am Post subject: |
|
|
| Code: |
bind pubm -|- * protect:channel
proc protect:channel {nick uhost handle channel text} {
if {(![botisop $channel]) || ([isop $nick $channel])} {return 0}
if {([matchattr $handle o]) || ([matchattr $handle f])} {return 0}
|
_________________ I once was an intelligent young man, now i am old and i can not remember who i was. |
|
| Back to top |
|
 |
r0t3n Owner
Joined: 31 May 2005 Posts: 507 Location: UK
|
Posted: Mon Apr 30, 2007 12:14 pm Post subject: |
|
|
Try:
| Code: | bind pubm -|- * protect:channel
proc protect:channel {nick uhost handle channel text} {
if {![botisop $channel]} { return }
if {[mattchattr $handle of] || [isop $nick $channel]} { return }
# code here
} |
_________________ r0t3n @ #r0t3n @ Quakenet |
|
| Back to top |
|
 |
|