Irae
09-05-2012, 12:02 AM
Hi everyone i'm currently stuck trying to work a timerunning into one of my scripts and this is the procedure...
procedure teleaftertime;
begin
if TimeRunning (300000) = True;
then
typesend('::shops')
end;
I know I probably have it wrong but if someone can point me into the right direction that would be great... If you can't tell what i'm trying to do its that after 300 seconds (5 minutes) to teleport out using '::shops' but i want the script to keep checking to see if its time ti teleport out even in combat. If someone has the skill to help me out that would be greatly appreciated :D
procedure teleaftertime;
begin
if TimeRunning (300000) = True;
then
typesend('::shops')
end;
I know I probably have it wrong but if someone can point me into the right direction that would be great... If you can't tell what i'm trying to do its that after 300 seconds (5 minutes) to teleport out using '::shops' but i want the script to keep checking to see if its time ti teleport out even in combat. If someone has the skill to help me out that would be greatly appreciated :D