This macro allows you to leave eq running when you have to go afk, med to Full Mana and then log out. Complete with GM check!
Once again, thx to Flint_the_Dorf for editing my code in order to make this work properly!
Code: Select all
|<fmlog.mac>
|Created by Mor-ath, the God of Stealth and Silence
|This is Mor-aths first attempt at coding!!
|Edited to work correctly by Flint_the_dorf...Thx Flint!!
|Hate logging in with no mana? This should allow you to finish playing
|goto bed, and log out automatically at Full Mana.
|So you can log in and get to playin without waiting for mana!
Sub Main
/echo Medding to 100% mana and logging!
/if $gm==TRUE /call log |for those who are paranoid - like myself
/call meditate
/return
Sub meditate
/sit
:medding
/delay 10s
/if n $char(mana,pct)<100 /goto :medding
/if n $char(mana,pct)>=100 /call log
/return
Sub log
/camp desktop
/unload
/returnSyn


