chalias hscript command
Create an alias for a channel name.
Usages
chalias channel aliaschalias [-r] [channel_name | node_name]chalias -e [channel_name | node_name]
Gives a channel another name by which it can be referenced. The original name is still valid and can be used in expressions.
If you specify only a channel name, the command lists any aliases on the channel. If you specify only a node name, the command lists any aliases on any of the node’s channels.
Options
-r | Recursively list the aliases of channels on node_name and its children. |
-e [channel_name | node_name] | Erase aliases. If a channel name is given, the command erases any aliases on the channel. If a node name is given, the command erases any aliases on any of the node’s channels. |
Examples
Creates an alias named “translate_x” for /obj/model/tx so that it may be referred to as /obj/model/translate_x.chalias /obj/model/tx translate_x
Lists any aliases on /obj/model/tx.chalias /obj/model/tx
Erases the aliases on all the channels of /obj/model.chalias -e /obj/model
