• You've discovered RedGuides, an EverQuest multi-boxing and scripting community 🧙‍♀️⚙️. We want you to play several EQ characters at once, come join us and say hello! 👋

  • A TLP without truebox has thawed (Very Vanilla ready)
    Frostreaver

check tasktimer

rchris494

New member
Joined
Dec 11, 2006
RedCents
i am working on a macro and i was wondering if there is a way to check the tasktimer of a quest/instance while in it. when the timer reaches a certain time it will execute the command i want.

i guess i need to know the varible for checking the tasktimer when in a mission. the rest i can do.
 
/tasktimer is the command to check task timers.

have that loop somewhere in the macro and then have an event like...
Rich (BB code):
#Event ExecuteCommand "#*#You do not currently have any task replay timers.#*#"

 Sub Event_ExecuteCommand
       /commandhere
   /return

theres probably a more efficient code for that but i'm noob @ macros
 
rchris494 said:
i am working on a macro and i was wondering if there is a way to check the tasktimer of a quest/instance while in it. when the timer reaches a certain time it will execute the command i want.

i guess i need to know the varible for checking the tasktimer when in a mission. the rest i can do.
The only way I know doing this, is by reading it of the Task Window, and to do that the Task Window has to be open, then it's just a question of using the Window TLO to read the right element. I had it in a macro once, but too lazy to find it right now.
 
The way ive done it is to set a timer to excute comands at or above the curent tasktimer. SO if your lockout right after you get the mission is 15 min i put a delay for 15 mins. you lose some time but it works.

Another way is to try to get the task, then have an event to pick up that message. i.e " You can not have another task of this type for X minutes" Then have it read that variable and put delay for x. The msg will have to be exact so I would cut paste from log to be sure.

/declare T int outer
#event tasktime "You can not have another task of this type for {T} minutes"

Sub main
/dostuff
/return

Sub_tasktime
/delay {T}
/return

Im pretty sure this will work

Just have it echo to mq window like it works or something
 
Could also use /time itself and do the math within the macro for a /call or /goto to trigger when it reaches a certain time.
 
well what i was kinda wanting to do is after being in an instance for say 45 mins the character leaves. right now i have a delay of 22 mins and the mission sometimes takes longer than the total 45 mins because of the 22 min delay after it finishes the last part of the quest. the quest does not take that long and i wanted the character to leave at that point not sit and wait 22 mins then leave. that is why i was looking for a timer check. but i guess it would be more called a current task timer.
 
When you request the task, set 45TaskTimer to 45m, and have a check with a waiting loop at the end that checks for when it's equal to zero and then have it do what you want. That's the easy way.
 
check tasktimer

Users who are viewing this thread

Back
Top
Cart