The code snippet below will allow you to logoff and back into a game after a specified time (in minutes). Your corpies can use this if you are AFK and in a time limit game to save your time and bring you back in.
The command is <bot name> timedlogin xxx where xxx is the number of minutes to wait (20, 240 or whatever you want).
The code was used effectively in the recent turns game.
Code:
# 1st backup your bot script!!!
# search for "goto :qss" and insert the following in the command function
elseif ($command = "timedlogin")
goto :timedlogin
# search for "end_nmac_send" label you should be at:
#:end_nmac_send
# send "'<" $bot_name "> - Numbered Macro - " $nmac " Cycles Complete*"
# goto :wait_for_command
# insert the following (do not comment out the above label/commands!)
:timedlogin
isNumber $test $parm1
if ($test)
killtrigger relog
setdelaytrigger mjunk :mjunk 2000
pause
:mjunk
getword currentline $promptLogoff 1
send "'Logging off - back in " $parm1 " minutes*"
if ($promptLogoff = "Citadel")
send "ryyqxq"
elseif ($promptLogoff = "<Stardock>")
send "qqyyxq"
else
send "qyxq"
end
setVar $i 1
while ($i <= $parm1)
setDelayTrigger timeDelay :timeDelay 60000
pause
:timeDelay
add $i 1
end
else
send "'Usage is timedlogin followed by the number of minutes to wait*"
goto :wait_for_command
end
goto :relog
# search for "#help =-=-=-=-=" and in the available command list insert
send "' TIMEDLOGIN - Logoff and then log in after x minutes*"
_________________
/ Promethius / Enigma / Wolfen /
"A man who has no skills can be taught, a man who has no honor has nothing."