Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Due to recent spam attacks that heavily used compormised accounts we did reset all user passwords, AGAIN, if it happens and your account got compromised again due to re-used passwords your account will be perma-banned.
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?
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:
Code:
if( equip(itemid) ) { unequip(itemid); do this; do that; end;} else { you can't wear this item. close;}