Macro requests from before the user variable changes that broke all macros
Moderator: MacroQuest Developers
-
Randomwiz
- Contributing Member

- Posts: 15
- Joined: Thu Oct 10, 2002 8:37 pm
Post
by Randomwiz » Thu Oct 10, 2002 8:42 pm
Hi all!
I fully admit to being a n00b with writing macros. My attempts to write a decent one have failed.
I would appreciate it if someone could write a macro for my 2 boxed wizard that will:
target whatever mob the group MA is pulling
wait till mob is 50 percent life
then start nuking using 2 different nukes
when mob is dead, sit down to med again
i would greatly appreciate the help!
-
L124RD
- Site Admin

- Posts: 1343
- Joined: Fri Jun 14, 2002 12:15 am
- Location: Cyberspace
-
Contact:
Post
by L124RD » Thu Oct 10, 2002 9:22 pm
Salutations,
before you get flamed, i would ike to warn you. People are usually more willing to help if you at least post a half-assed attempt at writing a macro, even if its complete and utter crap...
-
tuxracer
- Esse Quam Videri

- Posts: 165
- Joined: Fri Jul 26, 2002 1:01 am
Post
by tuxracer » Thu Oct 10, 2002 10:33 pm
Well this
is the macro *REQUEST* forum, not the macro help forum. Anyone who gets annoyed by macro requests should just not browse this forum.

[url=http://www.studentpeaceaction.org/][img]http://www.studentpeaceaction.org/images/support.gif[/img][/url]
-
L124RD
- Site Admin

- Posts: 1343
- Joined: Fri Jun 14, 2002 12:15 am
- Location: Cyberspace
-
Contact:
Post
by L124RD » Thu Oct 10, 2002 10:34 pm
Salutations,
i was trying to warn him before he got flamed... heh, but i totally agree with you...
-
tuxracer
- Esse Quam Videri

- Posts: 165
- Joined: Fri Jul 26, 2002 1:01 am
Post
by tuxracer » Thu Oct 10, 2002 10:36 pm
Well I suggest that any posts flaming people for posting a macro request in the macro request forum be deleted.
[url=http://www.studentpeaceaction.org/][img]http://www.studentpeaceaction.org/images/support.gif[/img][/url]
-
macrotoon
- a ghoul

- Posts: 106
- Joined: Wed Sep 18, 2002 4:38 pm
Post
by macrotoon » Fri Oct 11, 2002 1:05 am
heres a little something I threw together. It more than likely wont work, but might give you a starting point. I have not tested it and dont plan to. I usuallly spen alot of time debugging. So i imagine you will have to as well.
Code: Select all
| ---------WIZZY ASSISTING MA------------
| To start use the command /macro filename.mac macrotoon
| where macrotoon is the MA or Main tank
|
|
|
Sub Main
/varcalc v1 $spell(“1st spell name”,casttime)+2
/varcalc v2 $spell(“2nd spell name”,casttime)+2
:start
/ass $p0
/if $target()==FALSE /goto :start
:CheckHP
/if n $target(hp,pct)<=50 /if n/call NUKEM
/if $target==FALSE /Goto :sit
/goto :CheckHP
:sit
/sit
/goto :start
Sub NUKEM
/stand
:NUKEM
/cast 1
/delay $v1
/if $target()==FALSE /return DEAD
/cast 2
/delay $v2
/if $target()==FALSE /return DEAD
| check mana. If below 5% call OOM
/if n $char(mana,pct)<=5 /call OOM
/goto :NUKEM
/return
Sub OOM
| Sits till at 10% in 5 second intervals. Change delay 50 to whatever you want
/sit
:checkmana
/if n $char(mana,pct)>=10 {/stand} /return
/delay 50
/goto :checkmana