Log in

View Full Version : Script to Logout at x hour



chronoss
11-17-2014, 15:35
Hello, I'm playing an OT 8.0, and I don't know if it is my internet or the server, it always freeze at 9am.
Is it possible to make an script to logout at 9am and relog at 9:30 for example?

oclipper
11-17-2014, 20:06
do something like this into your script

if true $time$ = 09:30:00 goto label XXXX

:XXXX <-- your labe
sayMessage exiva close


-------------------------

variables:

$time$
Returns current time in HH:MM:SS. Only string I believe.


$shorttime$
Returns current time in HH:MM. This might be both string and number.

chronoss
11-18-2014, 08:53
Thanks, it works like a charm...
Just in case anyone needs this is what I did:
- Created conditional event with 100ms "few time ago": if $shorttime$ #string=# 08:50 action: "exiva _exitnow=1"
- Before the gotoscriptline 0 of I added "IfTrue ($_exitnow$#number=#1) Goto $nlineoflabel:logout$".
- After the gotoscriptline 0 of all my cavebot script I added the label "logout".
- Added waitX 30
- Added fastExiva Close

Thank you very much oclipper

Hartnett
05-22-2019, 14:50
We have to use that tricks and tips from getting out time about the looking really be perfect as well in the conditions. That is not be only hours to be depending from my assignment help Australia (https://aussiessayservices.com/myassignmenthelp-com-review/) it will only be depend by the whole day and version of the subject.