fmlog.mac -- Log after automatically after full mana...

Macro depository for macros written before the user variable changes that broke all of them.

Moderator: MacroQuest Developers

User avatar
Morath
a lesser mummy
a lesser mummy
Posts: 41
Joined: Tue Oct 22, 2002 3:09 pm

fmlog.mac -- Log after automatically after full mana...

Post by Morath » Thu Oct 31, 2002 6:53 am

I always hated logging in and having to wait for full mana in order to summon pets or go xp, or whatever...

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 

/return
Enjoy my first macro pps...

Syn

boldor
a ghoul
a ghoul
Posts: 94
Joined: Tue Sep 10, 2002 11:46 am

Post by boldor » Thu Oct 31, 2002 7:01 am

Syn of MCS fame?

User avatar
Morath
a lesser mummy
a lesser mummy
Posts: 41
Joined: Tue Oct 22, 2002 3:09 pm

Nope...abbreviate name

Post by Morath » Thu Oct 31, 2002 7:03 am

Nope...sorry...its abbreviated form of a different name...

Lurker_005
a lesser mummy
a lesser mummy
Posts: 51
Joined: Thu Oct 17, 2002 12:08 pm

small edit

Post by Lurker_005 » Thu Oct 31, 2002 1:58 pm

I was thinking about this a little, seems the best way to curently be sure your sitting is to do

Code: Select all

/stand
/sit
so the full thing might look like this

Code: Select all

|<fmlog.mac> 

|Created by Mor-ath, the God of Stealth and Silence 

|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 
    /stand
    /sit
    /call meditate 

/return 

Sub meditate 
    :medding 
/delay 10s 
    /if n $char(mana,pct)<100 /goto :medding 
    /if n $char(mana,pct)>=100 /call log 
/return 

Sub log 
    
   /stand
   /sit
   /camp desktop    
   /unload 

/return
The stand sit in sub log is redundant, but makes sure you can camp. Anyhow customize as you like :)

zertful
orc pawn
orc pawn
Posts: 18
Joined: Thu Oct 31, 2002 2:23 pm
Location: Greensboro, NC
Contact:

Re: small edit

Post by zertful » Thu Oct 31, 2002 2:25 pm

Lurker_005 wrote:I was thinking about this a little, seems the best way to curently be sure your sitting is to do

Code: Select all

/stand
/sit
so the full thing might look like this

Code: Select all

|<fmlog.mac> 

|Created by Mor-ath, the God of Stealth and Silence 

|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 
    /stand
    /sit
    /call meditate 

/return 

Sub meditate 
    :medding 
/delay 10s 
    /if n $char(mana,pct)<100 /goto :medding 
    /if n $char(mana,pct)>=100 /call log 
/return 

Sub log 
    
   /stand
   /sit
   /camp desktop    
   /unload 

/return
The stand sit in sub log is redundant, but makes sure you can camp. Anyhow customize as you like :)
Actually, you can just use:

/sit on/off

Zert
- those who sling mud, lose ground -

Lurker_005
a lesser mummy
a lesser mummy
Posts: 51
Joined: Thu Oct 17, 2002 12:08 pm

Post by Lurker_005 » Thu Oct 31, 2002 4:17 pm

I tested this last night, /sit on will make you stand also :( Go figure

Just thought of this, is it perhaps /siton and /sitoff ?

Valerian
a grimling bloodguard
a grimling bloodguard
Posts: 709
Joined: Sun Jul 28, 2002 3:29 am

Post by Valerian » Thu Oct 31, 2002 7:37 pm

/sit off will make you stand always, but /sit on will toggle your sit/stand state. e.g. if you're sitting already, /sit on will make you stand. isn't that wonderful?

only way to ensure you're sitting right now is to /stand or /sit off, and then /sit again...