• 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

What is the mq command to check to see if you have a specific task? (1 Viewer)

What is the mq command to check to see if you have a specific task?
I am wanting to make sure that i have a certian task from a taskmaster before going off and doing the rest of the macro and i was wondering if there was a command to check the tasks you already have aginst some text
 
came up with this:
Rich (BB code):
#Event ReceiveTask "You have been assigned the task#*#" 

/declare ReceivedTask string outer 

Sub Event_ReceiveTask 
/varset ReceivedTask 1 
/return 

Sub TaskWait 
/varset ReceivedTask 0 
:RTWLoop 
/delay 4 
/doevents 
/if (${ReceivedTask}==1) /goto :RTWLoopEnd 
/goto :RTWLoop 
:RTWLoopEnd 
/return
 
Yep that should work. Mine uses the actual TaskWindow, but since it is GUI driven you must have the window opened for it to work. Your's will work no matter what.
 
If you look at the basic advpath.mac ... you can populate variables from your events. #1# is the wildcard.

Rich (BB code):
#event PlayFile "[MQ2] playfile #1#"

#include advpath.inc

Sub Main
  /call InitAPFVars 1 15 20
  /squelch /alias /startrec /echo record
  /squelch /alias /stoprec  /echo stop
  /squelch /alias /playfile /echo playfile
  :Main_Loop
  /call AdvPathPoll
  /delay 5
  /doevents
  /goto :Main_Loop
/return

Sub WaitTilThere
  :LoopTilThere
  /if (${PathingFlag}==1) {
    /call AdvPathPoll
    /delay 1
    /doevents
    /goto :LoopTilThere
  }
/return

Sub Event_PlayFile(string Line, string PathFile)
  /call PlayFunction "${PathFile} 1 nf nopp noz"
  /call WaitTilThere
/return

now you can apply this to your task mac and add a /if to determine if you have a specific task.
 
What is the mq command to check to see if you have a specific task?

Users who are viewing this thread

Back
Top
Cart