⇤ ← Revision 1 as of 2022-08-04 16:37:01
5129
Comment: Page Created, copied #help into page body, TODO: Everything else
|
5869
|
Deletions are marked like this. | Additions are marked like this. |
Line 13: | Line 13: |
||||<rowbgcolor=""" rowstyle="" & quot; & amp; quot; & amp; quot; & quot; ; #CCCCCC& quot" ;&quot""style="" & quot;text-align:center& quot; "">'''Command Information''' || ||''Keyword'' ||<style="" & quot;text-align:center& quot; "">{{{ @reg }}} || ||''Type'' ||<style="" & quot;text-align:center& quot; "">{{{ BuiltIn }}} || ||<style="" & quot;text-align:left& quot; "" |3>''Arguments'' ||<style="" & quot;text-align:center& quot; "">{{{ #help }}} || ||||<style="" & quot;text-align:center& quot; ""> || ||||<style="" & quot;text-align:center& quot; "">{{{ <ARGUMENT_N}}} || ||''Aliases'' ||<style="" & quot;text-align:center& quot; "">{{{@register}}} || ||<style="" & quot;text-align:left& quot; "" |3>''Usage'' ||<style="" & quot;text-align:center& quot; "">{{{ <USAGE_1> }}} || ||||<style="" & quot;text-align:center& quot; "">{{{ ... }}} || ||||<style="" & quot;text-align:center& quot; "">{{{ <USAGE_N> }}} || |
||||<rowbgcolor=""" rowstyle="" & quot; & amp; quot; & amp; amp; quot; & amp; amp; quot; & amp; quot; ; #CCCCCC& amp; quot& quot; ; & amp; quot& quot" ;&quot""style="" & quot; & amp; quot;text-align:center& amp; quot; & quot; "">'''Command Information''' || ||''Keyword'' ||<style="" & quot; & amp; quot;text-align:center& amp; quot; & quot; "">{{{ @reg }}} || ||''Type'' ||<style="" & quot; & amp; quot;text-align:center& amp; quot; & quot; "">{{{ BuiltIn }}} || ||<style="" & quot; & amp; quot;text-align:left& amp; quot; & quot; "" |3>''Arguments'' ||<style="" & quot; & amp; quot;text-align:center& amp; quot; & quot; "">{{{ #help }}} || ||||<style="" & quot; & amp; quot;text-align:center& amp; quot; & quot; ""> || ||||<style="" & quot; & amp; quot;text-align:center& amp; quot; & quot; "">{{{ <ARGUMENT_N}}} || ||''Aliases'' ||<style="" & quot; & amp; quot;text-align:center& amp; quot; & quot; "">{{{@register}}} || ||<style="" & quot; & amp; quot;text-align:left& amp; quot; & quot; "" |3>''Usage'' ||<style="" & quot; & amp; quot;text-align:center& amp; quot; & quot; "">{{{ <USAGE_1> }}} || ||||<style="" & quot; & amp; quot;text-align:center& amp; quot; & quot; "">{{{ ... }}} || ||||<style="" & quot; & amp; quot;text-align:center& amp; quot; & quot; "">{{{ <USAGE_N> }}} || |
Line 28: | Line 28: |
Register an alias to a #DBREF, allowing for $alias substitution in commands such as t #DBREF and @tel #DBREF | Register an alias to a #DBREF, allowing for $alias substitution in commands such as t #DBREF and @tel #DBREF, as well as interacting with objects or rooms remotely (for example, ex $my_bedroom) |
Line 55: | Line 55: |
. ''{{{ <COMMAND> <PARAMETERS_1> }}}'' | . ''{{{ <COMMAND> <PARAMETERS_1> }}}'' |
Line 59: | Line 61: |
. ''{{{ page <COMMAND> <ARGUMENTS_N> }}}'' | . ''{{{ page <COMMAND> <ARGUMENTS_N> }}}'' |
Line 75: | Line 79: |
. {{{ <COMMAND> <EXAMPLE_ARGUMENTS_1> }}} | . {{{ <COMMAND> <EXAMPLE_ARGUMENTS_1> }}} |
Line 79: | Line 85: |
. {{{ <EXEC_USER_OUTPUT_DESC> }}} | . {{{ <EXEC_USER_OUTPUT_DESC> }}} |
Line 83: | Line 91: |
. {{{ <OTHER_USER_OUTPUT_DESC> }}} | . {{{ <OTHER_USER_OUTPUT_DESC> }}} |
Line 89: | Line 99: |
. {{{ <COMMAND> <EXAMPLE_ARGUMENTS_N> }}} | . {{{ <COMMAND> <EXAMPLE_ARGUMENTS_N> }}} |
Line 93: | Line 105: |
. {{{ <EXEC_USER_OUTPUT_DESC> }}} | . {{{ <EXEC_USER_OUTPUT_DESC> }}} |
Line 97: | Line 111: |
. {{{ <OTHER_USER_OUTPUT_DESC> }}} | . {{{ <OTHER_USER_OUTPUT_DESC> }}} |
Line 113: | Line 129: |
. CategoryBuiltincmd - for Built-In Commands . CategoryGlobalcmd - for Global Commands |
. CategoryBuiltincmd - for Built-In Commands . CategoryGlobalcmd - for Global Commands |
Line 118: | Line 138: |
. CategoryBasiccmd . CategoryBuildingcmd . CategoryProgrammingcmd . CategoryWizardcmd |
. CategoryBasiccmd . CategoryBuildingcmd . CategoryProgrammingcmd . CategoryWizardcmd |
Line 125: | Line 153: |
. CategoryNecessitiesgcmd . CategoryInfogcmd . CategoryMovementgcmd . CategoryCommgcmd . CategoryBuildinggcmd . CateoryObjgcmd . CategoryMiscgcmd . CategoryFindpeoplegcmd |
. CategoryNecessitiesgcmd . CategoryInfogcmd . CategoryMovementgcmd . CategoryCommgcmd . CategoryBuildinggcmd . CateoryObjgcmd . CategoryMiscgcmd . CategoryFindpeoplegcmd |
Page Under Construction
This page is under construction and using the CommandTemplate. This should be removed once the page is finished.
Commands/BuiltIn/at-reg
<Optional Tag If This is a Historical Document that has functionality that has been superceded by another program> This page describes the functionality for the Built-In <COMMAND> command. For more information on how the extended page functionality works, look at the global page command.
Command Information |
|
Keyword |
@reg |
Type |
BuiltIn |
Arguments |
#help |
|
|
<ARGUMENT_N |
|
Aliases |
@register |
Usage |
<USAGE_1> |
... |
|
<USAGE_N> |
Purpose
Register an alias to a #DBREF, allowing for $alias substitution in commands such as t #DBREF and @tel #DBREF, as well as interacting with objects or rooms remotely (for example, ex $my_bedroom)
Output of @reg #help:
Syntaxes: The following prefixes set what the target object and the target propdir are. The default target propdir is "_reg/" and the default target object is #0. #me Sets target object to you, and propdir to the default "_reg/". #prop <targobj>:<propdir> Sets target object to <targobj> and propdir to <propdir>. The following are the command syntaxes @register [<prefix>] List all registered objects in the target propdir on target object. @register [<prefix>] <subpropdir> List all registered objects in <subpropdir> in the target propdir. @register [<prefix>] <object> = <name> Register <name> to <object> in the propdir on the target object. Example: @register #prop here:_disconnect gen-sweeproom=cleanup This registers the program gen-sweeproom as 'cleanup' in the _disconnect propdir on the current room.
Syntax
To describe syntax functionality of a program:
<COMMAND> <PARAMETERS_1>
To describe more than one syntax:
page <COMMAND> <ARGUMENTS_N>
Parameters
<ARGUMENT_1>
- A description of the first argument of the command.
<ARGUMENT_N>
- A description of the Nth argument of the command.
Examples
Example 1
If an editor wanted to describe an example of a command, they would type the following:
<COMMAND> <EXAMPLE_ARGUMENTS_1>
They would explain what the user output was for the user executing the command, if any:
<EXEC_USER_OUTPUT_DESC>
Then explain what other users might see, if anything:
<OTHER_USER_OUTPUT_DESC>
Example N
If an editor wanted to continue writing examples, they could write as many as they wanted, following the general format above:
<COMMAND> <EXAMPLE_ARGUMENTS_N>
And keep writing user example output:
<EXEC_USER_OUTPUT_DESC>
And More Output:
<OTHER_USER_OUTPUT_DESC>
Caveats
Caveats for the command being written about should be placed here. These can be things like restrictions, special operations for wizards, &c.
Related
NullPage - These links should point to pages inside the wiki
Parent Topic
This page should have one of the following as it's Command List Page:
List of SpinDizzy MUCK System Built-In and Local Commands List of SpinDizzy MUCK System Global Commands
Specify the category types for this page. All Command pages will have one of the following:
CategoryBuiltincmd - for Built-In Commands
CategoryGlobalcmd - for Global Commands
Built-In Commands will have one the following sub-types:
Global Commands will have one of the following sub-types: