Zerathul 0 Posted October 13, 2014 Hi together, I have a char that can upgrade a custom item. The higher upgrades have other requirements.Is there a simple way to check in the script if the char can wear the item? Quote Share this post Link to post Share on other sites
0 GmOcean 92 Posted October 13, 2014 If you mean from the { script }, { OnEquip Script }, { UnEquip Script } part of an item, then currently no. Atleast not without the use of a custom command to return those as a string you can compare against. This also applies to whether or not your checking to see if a person can equip it based on Class or required level. For the latter 2 you could just do something like: if( equip(itemid) ) { unequip(itemid); do this; do that; end;} else { you can't wear this item. close;} Quote Share this post Link to post Share on other sites
Hi together,
I have a char that can upgrade a custom item.
The higher upgrades have other requirements.
Is there a simple way to check in the script if the char can wear the item?
Share this post
Link to post
Share on other sites