Page 1 of 1

Getting item link information

Posted: Mon May 17, 2004 8:14 pm
by danilo
Hi all! I'm trying to write some macros for keeping track of loot, and my idea was to do things like:

/macro loot <itemlink>

and this would insert information into a database that <target> won the item <itemlink>.

Ideally, I want to grab the internal ID of this item, as well as the name, such that I can generate links to these items later when I retreive the info from the database. However, I can't seem to get the parameter as an 'item' type, it's passed in as a string (with the ID stripped off). I've tried:

Code: Select all

Sub Main(item it)
...
but it seems I'm only getting a string passed to me. Is there a way to do this?

Posted: Mon May 17, 2004 8:26 pm
by Chill
look at http://macroquest2.com/phpBB2/viewtopic.php?t=6879 its the only post that even comes to mind.

If that doesnt help, ask ml2517 ... nicely :-)