SphereCommunity
Auto tournament - Printable Version

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



Auto tournament - Q23A - 04-26-2012 08:54 PM

Is possible to set automatic tournament? Example - on friday 10 am in destard appear tournament stone?


RE: Auto tournament - Khaos - 04-29-2012 01:31 PM

Answer to your question: Yes. It is possible.


RE: Auto tournament - WRWR - 04-29-2012 04:19 PM

just use f_onserver_timer for that


RE: Auto tournament - Khaos - 04-29-2012 04:43 PM

Is that a question?


RE: Auto tournament - WRWR - 04-29-2012 05:04 PM

it is answer


RE: Auto tournament - Khaos - 04-29-2012 05:09 PM

Well, it is one possible answer. There are several to do this script actually. You could control the event through accessing serv.rtime or using a timer count down. There are many ways to do it actually Smile. That is a useful way though. Another option might be to link the event to a controlled global var checking time and dates. If the script meets the time and date requirements then it can allow access to the tournament. *shrugs*


RE: Auto tournament - Q23A - 04-30-2012 06:54 AM

Where can I get this script which check time and dates?


RE: Auto tournament - Shaklaban - 04-30-2012 07:00 AM

[function real_clock_hr]
return <serv.rtime.format %H>

[function real_clock_min]
return <serv.rtime.format %M>


RE: Auto tournament - Q23A - 04-30-2012 07:03 AM

Thank You Smile