Whats wrong with this line of code?

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

Shali
a ghoul
a ghoul
Posts: 87
Joined: Sun Dec 07, 2003 12:39 pm

Whats wrong with this line of code?

Post by Shali » Tue Dec 09, 2003 9:32 pm

if the number of metal bits gets down to less than or equal to 2, i want it to goto :done, yet many times it says i have =<2 even when i have much more than that left, someone tell me what i am doing wrong please

Code: Select all

/if $count("Metal Bits")=<2 /goto :Done

thanks in advance

Shali
a ghoul
a ghoul
Posts: 87
Joined: Sun Dec 07, 2003 12:39 pm

imma retard

Post by Shali » Tue Dec 09, 2003 9:43 pm

sorry, im a retard, just realized i forgot the "n", so i cahnged it to

Code: Select all

/if n $count("metal bits")=<2 /goto :Done
and it promptly was fixed, sorry for useless post =P

some-eq-player
a lesser mummy
a lesser mummy
Posts: 70
Joined: Tue Dec 09, 2003 12:37 pm

Post by some-eq-player » Tue Dec 09, 2003 9:56 pm

welcome to the club .. happens to all of us the first few times we use this language =P