BB get number in pack
From Unofficial QEdit Wiki Guide
Syntax: BB_get_number_in_pack WW
Format
- WW (Reg) = Get number of items in inventory and set register to value
Use
Used to count the number of items in your inventory.
Example
100: BB_get_number_in_pack R10 \\Set R10 to number of items in inventory.
jmpi_= R10, 0000001E, 101 \\If R10 equals 30 jump to function 101
ret
101: message 00000050, 'Your inventory is full.'
mesend
ret