Timer - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d) +--- Forum: Script Help (/Forum-Script-Help) +--- Thread: Timer (/Thread-Timer) |
Timer - mrkarlo - 05-06-2015 03:08 AM hey!! I want to make some timer on command "home home home". Only one time can use it in 24h. It's possible? And how will it look. RE: Timer - Van Glan Bloom - 05-06-2015 07:10 AM You can make something like this : Code: [FUNCTION Home] RE: Timer - XuN - 05-06-2015 04:21 PM And if you want to make it to work in the 'home home home', you'll have to add 'home' to speech: Code: [SPEECH spk_player] EDIT: This is inside sphere_speech.scp RE: Timer - mrkarlo - 05-07-2015 03:00 AM Van Glan Bloom, Xun thank you guys!! RE: Timer - mrkarlo - 05-08-2015 01:59 AM I need lil information! How to insert into the sysmessage the number of minutes remaining till next try? RE: Timer - Extreme - 05-08-2015 09:16 AM Quick help PHP Code: ON=home home home RE: Timer - mrkarlo - 05-12-2015 01:19 AM thanx Extreme. Serv.time+3600 its one hour? or +60? RE: Timer - XuN - 05-12-2015 02:37 AM serv.time is based on tenths of second so <serv.time>/10 gives you the seconds. 60*60*10 (36000) is the correct number. |