my best:
Code: Select all
Sub Main
:Loop
/doability 3
/delay 45
/goto :Loop
/returnSomethin I can use to deplete all mana...goto bed and know I will be logged out and have full mana rdy for the next day.
Syn
Moderator: MacroQuest Developers
Code: Select all
Sub Main
:Loop
/doability 3
/delay 45
/goto :Loop
/returnCode: Select all
|<fmlog.mac>
|Created by Mor-ath, the God of Stealth and Silence
|This is Mor-aths first attempt at coding!!
|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
/if n $char(mana,pct)<10 /call meditate
/if n $char(mana,pct)>99 /call log
/if $gm==TRUE /call GMhere
Sub meditate
/sit
Sub log
/q
Sub Main GMhere
/q
/return
Code: Select all
|<fmlog.mac>
|Created by Mor-ath, the God of Stealth and Silence
|This is Mor-aths first attempt at coding!!
|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
/call meditate
/call log
/return
Sub meditate
/sit on
:medding
/wait 1000
/if n $char(mana,pct)<100 goto :medding
/return
Sub log
/sit on
/camp
/macroend
/return
Code: Select all
|<fmlog.mac>
|Created by Mor-ath, the God of Stealth and Silence
|This is Mor-aths first attempt at coding!!
|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
/return