Help - Search - Members - Calendar
Full Version: Is it possible to get a script do this..
AC Tools Everything Macro > Other Scripting Tools > Skunkworks
solitus

I have a vb6 scrip that im using.

Now im wondering, if its possible to add a function that uses the "pre order gems"


for example, if i have a macro running, i would like the script use those gems.

should i use the guid of the item, and what api should i use?

im the crap programmer, so im using a friend to help me code, i just need to know if its possible to add this feature
GKusnick
Using a gem is no different than drinking a potion or equipping a weapon. Just Use it.

Hard-coding item GUIDs in your script is not a good idea, since they can change on patch day. Use the inventory-searching functions to find the item by name before using it.
solitus
OK

Thx for the reply
Morkai
CODE

Dim Gem1, Gem2
Set Gem1 = skapi.AcoFindInInv("Blackmoor's Favor")
Set Gem2 = skapi.AcoFindInInv("Asheron's Benediction")
If Gem1 Is Not Nothing Then Call Gem1.Use()
If Gem2 Is Not Nothing Then Call Gem2.Use()

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.