| View previous topic :: View next topic |
| Author |
Message |
Reynaldo Halfop
Joined: 11 May 2005 Posts: 54
|
Posted: Fri Apr 07, 2006 2:58 am Post subject: Help with ping reply |
|
|
| 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
then if 60 sec return to 1 minutes. |
|
| Back to top |
|
 |
metroid Owner
Joined: 16 Jun 2004 Posts: 771
|
Posted: Fri Apr 07, 2006 6:57 am Post subject: |
|
|
| use [duration <time var>] |
|
| Back to top |
|
 |
|