• Hail, we're RedGuides. We want you to play six (yes, 6!) EverQuest characters at once. We have scripts and a friendly community to help, please join our playstyle and say hello! 👋
  • We've added LLM sections to our Terms & Rules and Resource Rules, for everyone's sanity & in-game safety.
    Read more
    a. Do not replace your voice with an LLM. This goes for your posts and your scripts. Drafting and editing with a tool is fine, but don't take you out of what you share.
    b. Do not replace your EQ character's voice with an LLM. We don't want scripts that speak over /ooc, /shout or other public channels. This has been an unwritten rule that's kept casino scripts off the site for decades, but we're now compelled to make it clear: keep automated communication private.

    Why Does RG Review Scripts?
    Nearly every LLM-written Lua script we see is making your character do impossible things, and rarely in a way that's beneficial to you. We've seen heavy server hammering, /target over impossible distances when /nav spawn would passively accomplish the same thing, a spawn search that fires 20+ times per second, and other pointless actions that are likely annoying GMs.

    You are welcome to use LLMs as a tool to structure, draft, and edit your work, but please read critically before hitting /lua run

check tasktimer

rchris494

New member
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