Cryosphere

Main Connecting Starting



Detailed MyAct instructions.


A basic introductory tutorial may be found in info myacttut.

Action Types:
unt : Untargetted. Will only support tokens %1-%7, and the %[/] structure.
targ : Targetted at person. Supports the above tokens, but also %a-%g, and the %</> structure.
obj : Targetted at object. In addition to the above tokens, you may also use %w and %W.
prop : Targetted at person and object. Uses all the above tokens, but remember that %a through %g and the %</> structure will be influenced by the person tagetted, not the object.

text : Untargetted text action. Supports the %s token, in addition to those listed beside 'unt', above.
ttext : Targetted text action. Supports the %s token, in addition to those listed beside 'targ', above.

More details on action tokens may be found in info apron.
The two action types will not co-exist peacefully, and the action creation system will not allow you to define an action with standard and text components.

myact list [player]
This returns a list of all your personal actions, together with their types. If a player is supplied, it will list their personal actions.

myact show <action> [player]
This lists each type of the specific action, together with what it looks like to observers. If a player is supplied, it will attempt to extract the information from their list of actions.

myact dump <action> [player]
This displays the raw string that makes up <action>, showing action tokens, ^ and & type escape codes. Useful for editting and extending actions you already have. As with show, it can be used on another player's actions.

myact get <action> <player>
This will attempt to copy the specified action from the specified player. If you already have an action with the same name, it will not overwrite types that you have defined.

myact erase <action> [type]
If type is supplied, this command will erase that part of your action. If no type is specified, all parts of the action are removed.

myact add <action> <type> <string>
This adds a new string of the specified type to the specified action. If the action does not yet exist it will be created. MyAct will also attempt to create an alias of the action name, assuming an alias with that name has not already been defined. You will not be able to overwrite existing action strings; you must erase the first if you wish to do so.

All action strings must begin with the %1 token. No other sanity checking is done by MyAct: if you make a stupid action, you will get stupid results. You need not worry about damaging the rest of the MUD in any way, though.

myact do <action> [target/text] [prop/text]
This actually executes the action. Suitable error messages will be generated if you pass inappropriate arguments to the actions you have defined. All personal actions (excepting object-targetted and targetted with prop) may be used over commlines just like a normal action, with no additional commands required.