Code: Select all
set pingtime [expr [unixtime] - $arg]
puthlp "PRIVMSG $chan :$nick PING Reply: $pingtime sec"
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.