Function for item details?

Additional botting resources. Addons may be either for the game itself or for the RoM bot.
Forum rules
Only post additional bot resources here. Please do not ask unrelated questions.
Post Reply
Message
Author
Buh
Posts: 45
Joined: Thu Dec 10, 2015 12:39 am

Function for item details?

#1 Post by Buh » Tue Sep 27, 2016 10:43 am

Hey

Is there a function or a way to get, for example, the stat name on a mana stone in my bagpack?
Just details of an item?

Greetings

kenzu38
Posts: 279
Joined: Sun Dec 02, 2012 8:52 am

Re: Function for item details?

#2 Post by kenzu38 » Fri Oct 07, 2016 11:10 am

I don't think someone has written a function for this but you can easily get it with something like this:

Code: Select all

local item = inventory.BagSlot[bagslotnumber]	-- just provide the bag slot
item:update()
table.print(item.Stats)
It should print all the stats of the item in the bag slot you specified.

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 10 guests