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 

Help with ping reply

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


Joined: 11 May 2005
Posts: 54

PostPosted: Fri Apr 07, 2006 2:58 am    Post subject: Help with ping reply Reply with quote

Code:

set pingtime [expr [unixtime] - $arg]
puthlp "PRIVMSG $chan :$nick PING Reply: $pingtime sec"

example the pingtime = 90
The bot will say:$nick PING Reply 90 sec
How to make the bot say:$nick PING reply: 1 minute 30 sec ??
90 sec = 1 minute & 30 sec Laughing
then if 60 sec return to 1 minutes.
Back to top
View user's profile Send private message
metroid
Owner


Joined: 16 Jun 2004
Posts: 771

PostPosted: Fri Apr 07, 2006 6:57 am    Post subject: Reply with quote

use [duration <time var>]
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 -> 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