mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Feb 2004
Posts: 2
T
Bowl of petunias
OP Offline
Bowl of petunias
T
Joined: Feb 2004
Posts: 2
Hey ive got this problem i scripted a bot that does some commands when asked. one of these commands is !uptime system. that displays the time my system is online in seconds. I divided it so i have it in days, but then i get something like this:
Uptime of My System: 2148839 Seconds or 24.870822 Days
Now i want it to say how many days its online without decimals, the minutes and the seconds. Anyone that can help me?

Thank you

Greetz Terminator

Joined: Dec 2002
Posts: 1,922
O
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,922
$int(number)

Joined: Feb 2004
Posts: 2
T
Bowl of petunias
OP Offline
Bowl of petunias
T
Joined: Feb 2004
Posts: 2
ok, you rock! grin

THX !!!

Greetz Terminator


Link Copied to Clipboard