Need help running MacroQuest2? Ask your questions about how to get things to work on your computer.
Moderator: MacroQuest Developers
-
mncat
- orc pawn

- Posts: 21
- Joined: Thu Oct 07, 2004 6:32 pm
Post
by mncat » Sat Oct 30, 2004 5:16 am
ok I am sure many of you saw what was going on with me and trying to find a macro to skill up my alteration and all that. Well after I tried to get the macro working and not being aboe to I decided to just write my own K.I.S.S. macro. and this is it, but I need just a little help.
-----------------------------------------------------------------------
| spelltrainer.mac
|
| Helps to lvl up your spell skills.
|
| Usage: /mac spelltrainer
|OK I got tired of looking for a macro that would help lvl up your alteration and all that fun stuff. So I figgured I would just make my own K.I.S.S. version. Hope someone gets some use out of it.
Sub Main
:MainLoop
{
/target myself
/if (${Me.PctMana}<20) /call MedBreak
/Cast Courage
/delay 13s
}
/goto :MainLoop
Sub MedBreak
/stand
/sit
:MedMore
/delay 2s
/if (${Me.CurrentMana}<${Me.MaxMana}) /goto :MedMore
/return
/return
-----------------------------------------------
I will be adding in the thank yous in the begining shortly.
The only thing I would like to change is the "/Cast Courage". Because I certinly do not want to change that every time I want to work on another skill. Could I write something in to just cast the first spell in the list of my memorized spells? Well I am sure there is a way, but just not sure how.
I thank everyone for their help in advance. I am hoping that the flames will be low.....at least I am trying to do something for myself.
Better safe then sorry......../cast "resist fire"
Thanks again to everyone.
-
Cr4zyb4rd
- Plugins Czar
- Posts: 1449
- Joined: Tue Jul 20, 2004 11:46 am
Post
by Cr4zyb4rd » Sat Oct 30, 2004 8:47 am
Here at macroquest2.com we can only read code contained inside of code brackets, sorry.

-
ztrike
- a ghoul

- Posts: 83
- Joined: Fri Mar 26, 2004 1:17 pm
-
Contact:
Post
by ztrike » Sat Oct 30, 2004 8:54 am
Code: Select all
-----------------------------------------------------------------------
| spelltrainer.mac
|
| Helps to lvl up your spell skills.
|
| Usage: /mac spelltrainer
|OK I got tired of looking for a macro that would help lvl up your alteration and all that fun stuff. So I figgured I would just make my own K.I.S.S. version. Hope someone gets some use out of it.
Sub Main
:MainLoop
{
/target myself
/if (${Me.PctMana}<20) /call MedBreak
/Cast Courage
/delay 13s
}
/goto :MainLoop
Sub MedBreak
/stand
/sit
:MedMore
/delay 2s
/if (${Me.CurrentMana}<${Me.MaxMana}) /goto :MedMore
/return
/return
Post +1
-
Cr4zyb4rd
- Plugins Czar
- Posts: 1449
- Joined: Tue Jul 20, 2004 11:46 am
Post
by Cr4zyb4rd » Sat Oct 30, 2004 9:08 am
Dammit, now I have to actually try to help, don't I?
Try this
Code: Select all
Sub Main
:MainLoop
/target myself
/if (${Me.PctMana}<20) /call MedBreak
/Cast Courage
/delay $13s !{Me.Casting.ID}
/goto :MainLoop
/return
Sub MedBreak
/stand
/sit
:MedMore
/delay 2s
/if (${Me.CurrentMana}<${Me.MaxMana}) /goto :MedMore
/stand
/return
-
Cr4zyb4rd
- Plugins Czar
- Posts: 1449
- Joined: Tue Jul 20, 2004 11:46 am
Post
by Cr4zyb4rd » Sat Oct 30, 2004 9:09 am
Also, for future reference, it helps a lot if you tell us what it should be doing but isn't, what errors you get, etc instead of just saying "I need help with this."
-
mncat
- orc pawn

- Posts: 21
- Joined: Thu Oct 07, 2004 6:32 pm
Post
by mncat » Sat Oct 30, 2004 4:04 pm
Never said there were any errors coming up. There are no errors. I do however believe I posted this in the wrong spot though. Sorry about that.
No errors, just trying to figure out how to make it just cast the first spell in the list of memorized spells insted of having to edit the dang macro everytime I want it to cast a different spell to work on a diffrent skill.
Thanks again.
-
mncat
- orc pawn

- Posts: 21
- Joined: Thu Oct 07, 2004 6:32 pm
Post
by mncat » Sat Oct 30, 2004 7:36 pm
that simple? sorry will try that when I get home. Hope it works and thank you very much.
-
mncat
- orc pawn

- Posts: 21
- Joined: Thu Oct 07, 2004 6:32 pm
Post
by mncat » Sun Oct 31, 2004 12:35 am
Follow up:
OK sorry about that macro not being in brackets. also thatnk you very much for the "/cast 1" I honestly did not think it was that simple. Just so I know for the future when I post macros for help or whatever would I use the "code" button at the top when posting? Thanks again everyone.
-
Rusty~
- a hill giant

- Posts: 244
- Joined: Wed Apr 14, 2004 2:55 pm
Post
by Rusty~ » Sun Oct 31, 2004 12:46 am
"/cast 1" is a normal EQ command... heh
-
Cr4zyb4rd
- Plugins Czar
- Posts: 1449
- Joined: Tue Jul 20, 2004 11:46 am
Post
by Cr4zyb4rd » Sun Oct 31, 2004 1:49 am
Yeah, but a little research showed that TFM doesn't list it among the options to /cast. I let wassup know, and it'll be in the next version's docs.
-
bam
- a ghoul

- Posts: 149
- Joined: Thu May 13, 2004 11:53 pm
Post
by bam » Sun Oct 31, 2004 1:16 am
[/code]
edit: I beleive /cast 1 is EQ, not MQ2. No reason to add it to the manual for MQ2.
-
magictiger
- a snow griffon

- Posts: 450
- Joined: Sun Mar 21, 2004 2:24 pm
Post
by magictiger » Sun Oct 31, 2004 3:23 am
Yes, it is EQ, not MQ
-
Cr4zyb4rd
- Plugins Czar
- Posts: 1449
- Joined: Tue Jul 20, 2004 11:46 am
Post
by Cr4zyb4rd » Sun Oct 31, 2004 3:55 am
Since you want to be assy and nitpick for some reason, the /cast command is detoured entirely by the Cast() function of MQ2, which then goes back and calls the eq-internal command as a special case when dealing with numeric arguments. The function's source-comments indicate this, but it was somehow overlooked for TFM.
I humbly submit that there are more constructive uses for your time than campaigning AGAINST enhancements to the documentation, especially when they're as trivial as adding a | and a # to a single line of what's already extant. Go flame a newb.
-
mncat
- orc pawn

- Posts: 21
- Joined: Thu Oct 07, 2004 6:32 pm
Post
by mncat » Sun Oct 31, 2004 4:38 am
Thank you Bam for telling me how to post code.