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 

Flood Pub

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help
View previous topic :: View next topic  
Author Message
BadAssWright
Voice


Joined: 14 Aug 2005
Posts: 8

PostPosted: Tue Apr 10, 2007 3:41 pm    Post subject: Flood Pub Reply with quote

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
View user's profile Send private message
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Tue Apr 10, 2007 6:48 pm    Post subject: Reply with quote

Show us your code.
_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
Back to top
View user's profile Send private message Visit poster's website
Dedan
Master


Joined: 09 Jul 2003
Posts: 260
Location: Memphis

PostPosted: Mon Apr 30, 2007 11:50 am    Post subject: Reply with quote

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
View user's profile Send private message
r0t3n
Owner


Joined: 31 May 2005
Posts: 507
Location: UK

PostPosted: Mon Apr 30, 2007 12:14 pm    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help 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