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 

Warn/kick/ban Script!!
Goto page Previous  1, 2
 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests
View previous topic :: View next topic  
Author Message
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Sat Sep 08, 2007 3:52 am    Post subject: Reply with quote

Yes, you understand right.
_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
Back to top
View user's profile Send private message Visit poster's website
i.m.offline
Halfop


Joined: 02 Mar 2006
Posts: 74

PostPosted: Sun Sep 09, 2007 1:49 am    Post subject: Reply with quote

Sir_Fz wrote:
Yes, you understand right.


Thanks for the response mate.

It seems I m messing up somewhere wid setting up words. I tried to put like "*yaar*", "* yaar *" & "yaar" isolated but it don't warn/kick/ban if the word is said in whole line. its responding only when it is said just the word in a line.

Would be great if the bot warns in channel main like - user - you have said a bad word.... etc.

Thanks a lot for the help in advance Smile
Back to top
View user's profile Send private message
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Sun Sep 09, 2007 6:37 am    Post subject: Reply with quote

*yaar* matches "yaar" anywhere in the line even if it's part of another word. As for sending warning to the channel, replace "notice $nick" with "privmsg $chan"
_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
Back to top
View user's profile Send private message Visit poster's website
i.m.offline
Halfop


Joined: 02 Mar 2006
Posts: 74

PostPosted: Tue Sep 11, 2007 4:04 am    Post subject: Reply with quote

Sir_Fz wrote:
*yaar* matches "yaar" anywhere in the line even if it's part of another word. As for sending warning to the channel, replace "notice $nick" with "privmsg $chan"


Thanks again mate.

I tried all the possible mask, like *yaar*, * yaar *, yaar, "yaar" etc but none of em reacting if the word is said yaar in some line and when I use * yaar * its warning/kicking on anything said in main :/
Back to top
View user's profile Send private message
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Wed Sep 12, 2007 4:38 pm    Post subject: Reply with quote

I don't see anything wrong with the code, I could be wrong. You figure it out.
_________________
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
Goto page Previous  1, 2
Page 2 of 2

 
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