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 

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

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


Joined: 18 Jan 2011
Posts: 35

PostPosted: Sun May 29, 2011 9:23 pm    Post subject: dot.tcl my first script n00bish but it works.. kinda Reply with quote

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:
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:
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 :.."}
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop 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