• 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

How do I put a timer into my macro?

nijhal

Member
Hi,

Yep, its me again. I am wondering how to put in a timer into a macro, so that it will call a certain Sub after an asigned ammount of time. Like hunter macro, lets say I got a hunter macro to farm spider silks. So I fire it up and head to bed. But, I dont want it to run the full 8-10 hours while I sleep. Say 4-5 hours. How do I put in a timer to make it /camp desktop /endmacro after a certain amount of time?
 
Add something like this to your declares

Rich (BB code):
/declare gotobed timer outer 0

And then put this next part in (make sure you don't put this anywhere in where the macro loops, or the timer gets keeps getting reset to whatever amount you put in it.

Rich (BB code):
/varset gotobed 480m
(use whatever time you want here,s for seconds,m for minutes and h for hours)

and then somewhere in your loop of hunting for stuff...

Rich (BB code):
/if (!${gotobed}) {
    /camp desktop
    }

... which says that if the gotobed is 0 then camp out :)

Mateo
 
How do I put a timer into my macro?

Users who are viewing this thread

Back
Top
Cart