Every time i cast 5 spells, then I *want* MQ to check if my target is my WARDER.. I've been trying to use /if n $target=FALSE (I have nothing on target) /call Warder -- summon my warder, delay, /target pet and contine the macro, HOWEVER! it tries to summon a warder every time and makes the actual macro almost 3x longer than it should normally take -_-
I have no idea what the correct command for checking the target would be.. I bet it's really simple and you're snickering inside :p but I figured out how to make some sloppy, ghetto macro's that work well enough, except for this one.. I also hope the
/if $gm==TRUE /call Crap
works too, hehe. (: Ok, here is what my entire macro includes:
edit : Rizwank doesnt feel like fixing code, but code brackets are fun
edit3 : sorry Riz the page says ! Error on page. and none of the emoticons or functions work for me heh. plus this should be in macro help :/
Code: Select all
#define maxiskill v1
Sub Main
/varcalc maxiskill $char(level)*5+5
:Begin
/if n $char(skill,alteration)<$maxiskill /cast 1
/if n $char(skill,alteration)<$maxiskill /delay 35
/if n $char(skill,evocation)<$maxiskill /cast 2
/if n $char(skill,evocation)<$maxiskill /delay 50
/if n $char(skill,conjuration)<$maxiskill /cast 3
/if n $char(skill,conjuration)<$maxiskill /delay 42
/if n $char(skill,divination)<$maxiskill /cast 4
/if n $char(skill,divination)<$maxiskill /delay 38
/if n $char(skill,abjuration)<$maxiskill /cast 5
/if n $char(skill,abjuration)<$maxiskill /delay 55
/if $gm==TRUE /call Crap
/if n $target==FALSE /call Warder
/if n $char(mana,pct)<25 /cast 6 /delay 75
/if n $char(mana,pct)<10 /sit
/if n $char(mana,pct)<10 /call meditate
/if n $char(skill,alteration)<$maxiskill /goto :begin
/if n $char(skill,evocation)<$maxiskill /goto :begin
/if n $char(skill,conjuration)<$maxiskill /goto :begin
/if n $char(skill,divination)<$maxiskill /goto :begin
/if n $char(skill,abjuration)<$maxiskill /goto :begin
Sub Crap
/cleanup
/reply 1 sec.. laggy
/sit
/mqlog
/delay 80
/q
/sit
/camp
/return
Sub Warder
/if n $target==TRUE /goto :begin<----- (this one changes a lot
and I have been messing with it.. this usually isn't in here.)
/press 4
/delay 180
/target pet
/delay 10
/return
Sub meditate
:rest
/delay 10
/if n $char(mana,pct)<100 /goto :rest
/stand
/return

