SphereCommunity
SRC.TIME - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: Script Help (/Forum-Script-Help)
+--- Thread: SRC.TIME (/Thread-SRC-TIME)



SRC.TIME - mlyon83 - 05-16-2013 09:36 AM

Okay question...

How do I get TIME to show in only seconds?

I think it currently displays milliseconds, too.

Or is there another account timer that runs in the background I could use, even when not logged in?


RE: SRC.TIME - RanXerox - 05-16-2013 11:26 AM

There is no TIME function for SRC

The server (SERV) has a RTIME function... maybe that is what you want?


RE: SRC.TIME - Gil Amarth - 05-16-2013 11:38 PM

SRC.TIME on characters is the same that SERV.TIME, SERV.TIME it´s better becasue is not attached to any character.

SERV.TIME it´s how many tenths of seconds has lapsed since the server start, from you first saveworld.
You can use in seconds if you divide by 10, and also in a lot of logout scripts.


RE: SRC.TIME - mlyon83 - 05-17-2013 02:38 AM

Thanks for the responses. I will probably use <EVAL <SERV.TIME> / 10>> then.

RanXeros: What's RTIME?


RE: SRC.TIME - darksun84 - 05-17-2013 02:41 AM

http://wiki.sphere.torfo.org/index.php/Serv.rtime.format