-
Notifications
You must be signed in to change notification settings - Fork 759
Getnameditem
Haru edited this page Oct 19, 2016
·
1 revision
- getnameditem <item></item>,<character></character>;
- getnameditem "<item></item>",<character></character>;
Create an item signed with the given character's name.
The command returns 1 when the item is created successfully, or 0 if it fails. Failure occurs when: - There is no player attached. - Item name or ID is not valid. - The given character ID/name is offline.
//Self-explanatory (I hope). if (getnameitem("Apple","Aaron")) { mes "You now have a Aaron's Apple!"; }