Comparing.

Need help with a macro you are writing? Ask here!

Moderator: MacroQuest Developers

kallell
decaying skeleton
decaying skeleton
Posts: 7
Joined: Mon Aug 18, 2003 11:00 am

Comparing.

Post by kallell » Fri Jul 09, 2004 6:49 am

What i'm trying to do, is get only certain items on the mouse to auto-inventory, and others to go in a speicific spot...I can't get past the comparing of the name of the mouse to the item. Sorry if this sounds confusing, but its 5 am and i havnt gone to sleep yet.

User avatar
blueninja
a grimling bloodguard
a grimling bloodguard
Posts: 541
Joined: Thu Aug 28, 2003 7:03 am
Location: Göteborg, Sweden

Post by blueninja » Fri Jul 09, 2004 6:53 am

Code: Select all

/if (${Cursor.Name.Equal[blahblah]}) ...
/if (${Cursor.Name.Find[blah]}) ..
The first one will match an exact string, the second will find a substring in the item name.