==== Action Scripts ==== Action scripts are small routines that are not really worth coding up as a plugin, but are otherwise very powerful and are executed on the server itself. They can be attached to any object in a region via Fiddle>Modify Actions, or by setting Properties that trigger on certain events. Only super-admins (i.e. Amanda) can create and edit the scripts. Scripts are triggered in a number of ways. **Directly**, by setting id_action and next_action (unixtime in seconds) which is when you want it to happen. **On purchase from vendo** - sets action to that of property //defaultAction//, with a delay of property //defaultActionTime// **On pick up of item** - ditto. **On dropping an item** - sets action to that of property //dropAction//, after delay of property //dropActionTime// **On sitting on an item** - sets action to that of property //sitAction//, after delay of property //sitActionTime// **On drinking a potion** - if potionType is set to //script**nn**// where **nn** is the id of a script, immediately execute script (only tick delay). Properties //potionDrinkSelf// and //potionDrinkOthers// hold messages to display to the users. If an action is intended to repeat itself, the script is responsible for setting a new //next_action// time and, of necessary, new //id_action//. Default is for a script to be executed once and next_action time set to 0 (disabled) Current scripts: | 1 | Quax Carrot | Used in pick-up. Turns item into a carrot if your avatar id is Quax or Qbota. :D | | 2 | Fat Potion | Used by potions. Sets you as a.WholesomeFem.img for a while. (Buggy) | | 3 | Dead plant | Used in pick-up. Sets plant as dying, then 15s triggers "delete object| | | 4 | Delete object | Deletes current item. | | 5 | Talking objects | Provides chatter from items named "toucan", "barkeeper", "frog" or "lincoln" | | 6 | Move sideways | Moves item backwards and forwards across the screen, 3px every 30s | | 7 | Worms alive | Provides animations and breeding for worms.. | | 8 | Fix item | Swaps Glued to Immobile and removes Engravable flag | | 9 | Mark glued | Used on purchase. Warns user then sets to run "glue when dropped" | | 10 | Glue when dropped | Used in drop. Glues item down, then sets to run "fix item" after 5 mins | | 11 | Group spawner | set property "spawngroup". This then acts like a regular spawner, but only one location for all items with the same value will be allowed to spawn an item. | | 12 | old version of #7 | do not use | | 13 | LarryWet | Chatter for Larry if it's raining. | | 14 | Fairy Potion | used by potions. Makes you a fairy for a while. Buggy. | | 15 | skeleton potion | used by potion or sit. Turns you into a skeleton for a while |