-
Notifications
You must be signed in to change notification settings - Fork 758
Countbound
Haru edited this page Oct 19, 2016
·
1 revision
- countbound ({<bound></bound>})
This function will return the number of bounded items in the character's inventory, and sets an array @bound_items[] containing all item IDs of the counted items. If a bound type is specified, only those items will be counted.
For a list of bound types see getitembound.
Example: mes "You currently have "+countbound()+" bounded items."; next; mes "The list of bounded items include:"; for(set .@i,0; .@i<getarraysize(@bound_items); close;
="" =" *"></getarraysize(@bound_items);>getitembound2