• You've discovered RedGuides 📕 an EverQuest multi-boxing community 🛡️🧙🗡️. We want you to play several EQ characters at once, come join us and say hello! 👋
  • IS THIS SITE UGLY? Change the look. To dismiss this notice, click the X --->
  • Unfortunately, yes, there is a suspension wave happening around the new tlp launch. :'( Please keep regular discussion to Suspension MegaThread and please consider submitting a Suspension report to RG.

How do I put a timer into my macro? (1 Viewer)

nijhal

Member
Joined
Feb 22, 2006
RedCents
10¢
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