$count() in the new format

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

Preocts
a snow griffon
a snow griffon
Posts: 312
Joined: Thu Jan 29, 2004 1:02 pm

$count() in the new format

Post by Preocts » Mon Apr 19, 2004 8:42 am

Code: Select all

      /if n $count("$cursor(name)")>=@Temp /goto :RiskyLoop
Slowly working my way through a large macro I've been building since I started and ran across this problem. I can't find a member that returns the number of a given item in your inventory.
Can anyone help me out? Thanks.[/code]

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

Post by ml2517 » Mon Apr 19, 2004 9:26 am

Lax is aware of this not being in. He said he'd add it yesterday in the IRC channel.

Preocts
a snow griffon
a snow griffon
Posts: 312
Joined: Thu Jan 29, 2004 1:02 pm

Post by Preocts » Mon Apr 19, 2004 9:36 am

Sweet deal. Thanks for the info.