AutoCamp Macro

A forum for you to dump all the macros you create, allowing users to use, modify, and comment on your work.

Moderator: MacroQuest Developers

Weirdness
decaying skeleton
decaying skeleton
Posts: 1
Joined: Sun Jan 25, 2004 5:22 pm

AutoCamp Macro

Post by Weirdness » Fri Feb 13, 2004 12:37 am

This macro is a simple one but handy. Copy the code into AutoCamp.mac and use it at the end of the day. It will wait until you are full mana and health before camping you out, and sets you AFK. Yes, AFK Macroing at its finest!

Skips the mana check for you melee types.

Code: Select all

|AutoCamp.mac
| AutoCamp when we are medded up to full health and mana

Sub Main
/if $char(state)==STAND /sit
/afk on
:StillWaiting
/if n $char(mana,pct)==0 /goto :NoMana
|/echo Check Mana
/if n $char(mana,pct)!=100 {
   /delay 6s
   /goto :StillWaiting
}
:NoMana
|/echo Past Mana
/if n $char(hp,pct)!=100 {
   /delay 6s
   /goto :StillWaiting
}

/Echo Camping
/camp desktop
/endmacro

/return
I would like to add a Stamina check for the melee types, but I could not get it to work. Plan on adding it later when I get it figured out.

User avatar
operat0r
RTFM, then ask again
Posts: 61
Joined: Thu Aug 28, 2003 2:04 am

looks ok

Post by operat0r » Sat Feb 14, 2004 1:20 am

you should check out my codesnipits.txt theres lots of good meat in there :)

http://operat0r.no-ip.com/stuff/macroquest/
with love moron #6895423686