Med to full, then camp

Post your completed (working) macros here. Only for macros using MQ2Data syntax!

Moderator: MacroQuest Developers

Me.Name
a lesser mummy
a lesser mummy
Posts: 56
Joined: Thu Mar 11, 2004 11:49 pm
Location: ${Me.Bound}

Med to full, then camp

Post by Me.Name » Sat May 13, 2006 5:34 am

I realize most people here probably could come up with this on their own, but I thought I'd share anyhow.

I hate putting away toons for the night without full mana so I threw this together and use it all the time. This macro simply waits until you are full mana then camp you all the way out of EQ.

Code: Select all

| medlog.mac
| This macro waits until you are full mana then quits EQ

Sub Main
    /if (${Me.State.NotEqual["SIT"]}) {
        /echo You need to be sitting for this macro to work.
        /return
    }
    /echo medlog.mac started.
    /echo Medding to full mana then camping to desktop.
    :loop
    /delay 1s
    /if (${Me.PctMana}!=100) /goto :loop
    /camp desk
/return
Simple, but handy.

EDIT: I was just told SoE added that camped toons, after a certain time, have health/mana/stamina restored automaticaly. Oh well, do with this as you wish.
Last edited by Me.Name on Sat May 13, 2006 7:40 am, edited 1 time in total.

User avatar
aChallenged1
a grimling bloodguard
a grimling bloodguard
Posts: 1804
Joined: Mon Jun 28, 2004 10:12 pm

Post by aChallenged1 » Sat May 13, 2006 7:09 am

Why didn't you just tell it to sit if it isn't sitting?
Fuck writing MQ2 macros. Go with IS scripts; IS Rules!

Me.Name
a lesser mummy
a lesser mummy
Posts: 56
Joined: Thu Mar 11, 2004 11:49 pm
Location: ${Me.Bound}

Post by Me.Name » Sat May 13, 2006 7:37 am

That doesn't take into account if toon is still on a mount. I didn't take the time to put in mount detection and cancellation code.

User avatar
eqsolro
a ghoul
a ghoul
Posts: 113
Joined: Fri Sep 13, 2002 4:20 pm
Location: Germany

Post by eqsolro » Sat May 13, 2006 11:13 am

i tought Sony changed EQ, so that you are full med after logging 2-3 hours ?
When i log in evening and start play next day - my toon is restored - i hope its so - or someone else playing with my toon ;)

btw - we had a .mac in the early 2000 with same function :) or do i remember wrong :) ?

... sorry im a old lady maybe im wrong ( and im most time wrong ;).. )
... where is my sparg *cough* [need assistens for toilet sign ON]
-----------------------------------
LAX and Devs for government
-----------------------------------

Dont tell my husband, that i use his mailadress.
Dont tell my husband, that i play EverQuest.
Dont tell my husband, that i use MacroQuest2.
Dont tell my husband, that i donated for MQ2.
Dont tell my husband, that i bought a new PC.
Dont tell my husband, that i payed a Menstripper. ( you never seen 6 middladys crying? i was 1 :) ... )

An dont tell my husband, that i used his fucking CreditCard for all above :)

cheers ...

*** And her Husband now that all :) ***
We are back after 5 Years of NO EQ :)

Yunto?
a grimling bloodguard
a grimling bloodguard
Posts: 502
Joined: Sat Nov 19, 2005 12:05 pm

Post by Yunto? » Sat May 13, 2006 11:28 am

Yeah.. if you log out for 1 hour, you come back in with full health and mana.

Me.Name
a lesser mummy
a lesser mummy
Posts: 56
Joined: Thu Mar 11, 2004 11:49 pm
Location: ${Me.Bound}

Post by Me.Name » Sat May 13, 2006 1:18 pm

eqsolro wrote:.. sorry im a old lady maybe im wrong and im most time wrong ;)
If a man speaks and no women hear him, is he still wrong? :D

I'm gonna get punched for that one.
Eh, pain lets me know I'm still alive. :wink: