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.

dot.tcl my first script n00bish but it works.. kinda

General support and discussion of Eggdrop bots.
Post Reply
F
FightingNavyman
Voice
Posts: 35
Joined: Tue Jan 18, 2011 12:39 pm

dot.tcl my first script n00bish but it works.. kinda

Post by FightingNavyman »

Well I have 2 bots running the same script BUT one of them likes to double do it. like this:

[7:57:00pm] <~KnuckleHead> .
[7:57:02pm] <@TriviaBot> ..
[7:57:03pm] <@Toy> ...
[7:57:03pm] <@TriviaBot> ..

Here is the script:

Toy's part:

Code: Select all

bind pub mn|mn .. pub_dot
proc pub_dot {n u h c a} {utimer 1 "[list pub_dot_say $c]"}
proc pub_dot_say {c} {putserv "PRIVMSG $c :..."}
TriviaBot's part:

Code: Select all

bind pub mn|mn . pub_dot
proc pub_dot {n u h c a} {utimer 1 "[list pub_dot_say $c]"}
proc pub_dot_say {c} {putserv "PRIVMSG $c :.."}
Post Reply