View Single Post
05-15-18, 06:17 AM   #1
saxitoxin
A Theradrim Guardian
 
saxitoxin's Avatar
AddOn Author - Click to view addons
Join Date: May 2009
Posts: 60
getting bagslots from the tooltip

Unless there is a function where I can get the total number of slots in a bag that is in my inventory (not equipped)

My guess is that I have to scan the tooltip, but I have no idea how to do that

I know that
Code:
CONTAINER_SLOTS = "%d Slot %s";
is the line in the tooltip

but not how to get %d as a value from that line in the tooltip

I would appreciate a sample code
  Reply With Quote