User:Pachirisu/Sandbox

(Introduction here)

Create the message
(TO DO: Add more detailed steps) (Image here)
 * 1) Create a new MovieClip through the "library" panel and write the message you would like to appear when a ripped copy has been worn. It's suggested that you add a message that would encourage the user to contact the creator, to solve the problem.
 * 1) Go to the newly created MovieClip properties, and set the Class property in the linkage section to "Message".

Script
Add the following code at the main scene: import com.whirled.EntityControl;

var myId = _ctrl.getEntityProperty(EntityControl.PROP_MEMBER_ID,_ctrl.getMyEntityId); if (_ctrl.getEnvironment == EntityControl.ENV_SHOP || _ctrl.getEntityProperty(EntityControl.PROP_MEMBER_ID) == yourId) { _ctrl.setMemory("Purchased",true); } if (_ctrl.getMemory("Purchased",false) != true && _ctrl.getInstanceId == myId) { _ctrl.showPopup("Avatar Message",new Message,300,200,0); }

How it works
(Add here)