Macro Help

Need some help with that macro you're working on or aren't quite sure how to get your macro to do something? Ask here!

Moderator: MacroQuest Developers

ml2517
a grimling bloodguard
a grimling bloodguard
Posts: 1216
Joined: Wed Nov 12, 2003 1:12 am

Macro Help

Post by ml2517 » Sun Dec 14, 2003 8:44 pm

I'm having trouble with my current macro. I can't seem to find the problem with it. Could someone make some suggestions? :twisted:

Code: Select all

#turbo 4

Sub Main
/target "Saddam Hussein"
/if $target()==TRUE {
    /goto :CheckForLice
}

:CheckForLice
/if n $char(haslice) {
    /call delouse
}

:CheckDNA
/cast item "Cheek Swab"
/if $target(dna)==$target(corpse,"Uday",dna) /echo LOL
/if $target(dna)==$target(corpse,"Qusay",dna) /echo OMG LOL
/return


Sub delouse
    /cast item "Lice-Rx"
/return

Nilen2
decaying skeleton
decaying skeleton
Posts: 9
Joined: Thu Nov 13, 2003 1:04 pm

Post by Nilen2 » Sun Dec 14, 2003 11:38 pm

LoL, for a second there I was trying to figure out what you were trying to do :D

ml2517
a grimling bloodguard
a grimling bloodguard
Posts: 1216
Joined: Wed Nov 12, 2003 1:12 am

Post by ml2517 » Sun Dec 14, 2003 11:39 pm

Hehhe :wink:

Raging_Goblin
a lesser mummy
a lesser mummy
Posts: 33
Joined: Wed Dec 10, 2003 9:01 pm

Post by Raging_Goblin » Mon Dec 15, 2003 9:21 am

pfft, problem is Cheek Swab... use Skin Sample, or Gun To The Head instead