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.

Search found 9 matches

by jeremie
Mon Sep 24, 2007 3:34 pm
Forum: Scripting Help
Topic: banned words script [Solved]
Replies: 7
Views: 5015

Thank you Sir_Fz I tried it and it works.

:)
by jeremie
Mon Sep 24, 2007 3:12 pm
Forum: Scripting Help
Topic: banned words script [Solved]
Replies: 7
Views: 5015

Yes sorry Sir_Fz I was testing so many different pieces of code and this is what I am using. foreach user [split [chanlist $chan] " "] { set found [string match -nocase *$user* $text] if {$found} { regsub -all -nocase -- $user $text "" text } } If I used your sugestion of the reg...
by jeremie
Mon Sep 24, 2007 7:54 am
Forum: Scripting Help
Topic: banned words script [Solved]
Replies: 7
Views: 5015

Solved

Thank you Sir_Fz for your suggestion. Thank you awyeah for the help you have given about strings I'm sure that will be very useful for future projects. After thinking about the problem and remebering what I said in my first post about the code working in my normal pubm proc, the solution I have come...
by jeremie
Sun Sep 23, 2007 6:39 pm
Forum: Scripting Help
Topic: banned words script [Solved]
Replies: 7
Views: 5015

banned words script [Solved]

I am amending my script to check for the banned words on actions. I want to strip out the users name from the text and just check the rest of the text. I tried using this :- foreach user [split [chanlist $chan] " "] { set found [string match -nocase *$user* $text] if {$found} { regsub -all...
by jeremie
Wed Sep 12, 2007 2:42 pm
Forum: Scripting Help
Topic: sending a message to all ops on a channel [Solved]
Replies: 5
Views: 4248

I'm not sure how you knew I was trying to work that one out too.

I have added that now and it's even better than before.

Thank you awyeah.

:)
by jeremie
Mon Sep 10, 2007 4:29 pm
Forum: Scripting Help
Topic: sending a message to all ops on a channel [Solved]
Replies: 5
Views: 4248

[Solved] sending a message to all ops on channel

I tried that and it worked perfectly.

Thank you TCL_no_TK and Tosser^^

:)
by jeremie
Sun Sep 09, 2007 4:06 pm
Forum: Scripting Help
Topic: sending a message to all ops on a channel [Solved]
Replies: 5
Views: 4248

sending a message to all ops on a channel [Solved]

I have been writing a script which warns somebody if they say a banned word on a channel. It sends a warning to that person and I want it to send a private message to all ops on the channel. I know how to send it as a notice but the ops would rather have it sent to them as a private message. I have ...
by jeremie
Fri Aug 31, 2007 5:12 am
Forum: Scripting Help
Topic: Issue with command trigger script. [Solved]
Replies: 3
Views: 3483

Solved

Thank you iamdeath. I put the set mybot1 "YourFirstBot" in the conf. Added mybot1 to Global and inserted if {[onchan $mybot1 $chan]} { return ) after changing the ) to } . It worked because "MySecondBot" didn't reply and in a channel where "YourFirstBot" was missing &qu...
by jeremie
Thu Aug 30, 2007 3:54 pm
Forum: Scripting Help
Topic: Issue with command trigger script. [Solved]
Replies: 3
Views: 3483

Issue with command trigger script. [Solved]

I have a script that replys with a message to a given command on channel. The script works without a problem but I want to add it to two or more bots so the reply can be still given if one or more of the bots are offline. When I added it to a second bot both bots replied. Is there a way that I can m...