Difference between revisions of "AS(Builder)"

From CoffeeMud Wiki
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:
 
as bob here drop all
 
as bob here drop all
  
as bob cast fireball monster|Shorts=|Description=A command that allows one to issue other commands as if they were another player or mob.  This is the best way to manage a players inventory or bank accounts from the command line. The optional "here" parameter should follow the name if the command is to be issued with the player in the same room as the archon.}}
+
as bob cast fireball monster
  
===Notes===
+
as port 2325 list users|Shorts=
This command should be used cautiously, because during the split second that you are initiating the AS command, the mob/player you are working from will have archon status and permissions.  This can have unintended consequences, and you may not get the desired affect from it. Performing an action AS a mob may be a permissible action because you are an archon performing it through the mob, but the mob may not be able to perform the action without you riding inside.  Therefore, it is best to test performance by using an actual mob or player instead of the AS command.
+
|Description=A command that allows one to issue other commands as if they were another player or mob.  This is the best way to manage a players inventory or bank accounts from the command line. The optional "here" parameter should follow the name if the command is to be issued with the player in the same room as the archon. The optional "port x" parameter can be used to execute commands on other mud hosts, so long as the admin qualifies as a SysOp on the target port.}}
  
If you are attempting to gather information about a player, it is better to use the [[STAT(Builder)|STAT]] command, where possible.
+
=Notes=
 +
*This command should be used cautiously, because during the split second that you are initiating the AS command, the mob/player you are working from will have archon status and permissions.  *This can have unintended consequences, and you may not get the desired affect from it.  Performing an action AS a mob may be a permissible action because you are an archon performing it through the mob, but the mob may not be able to perform the action without you riding inside.  Therefore, it is best to test performance by using an actual mob or player instead of the AS command.
 +
*If you are attempting to gather information about a player, it is better to use the [[STAT(Builder)|STAT]] command, where possible.

Latest revision as of 20:42, 13 April 2021

CoffeeMUD
Administrator                                                  Builder                                                              Player
=CoffeeMUD Builder Information=
Basics Praetor     Player Support     Commands     Zapper Masks Advanced Races     Classes     Abilities     Socials     Scripting    
Building Behaviors     Properties     Areas     Rooms     Exits     Items     Mobs Systems Achievements     Crafting     Help Info     Ships     Planes of Existence     Quests     Triumphs    
===AS===
Usage: AS [PLAYERNAME/MOBNAME] (HERE) [COMMAND]
Examples: as "bob" inventory

as bob here drop all

as bob cast fireball monster

as port 2325 list users

Shorts:
Description: A command that allows one to issue other commands as if they were another player or mob. This is the best way to manage a players inventory or bank accounts from the command line. The optional "here" parameter should follow the name if the command is to be issued with the player in the same room as the archon. The optional "port x" parameter can be used to execute commands on other mud hosts, so long as the admin qualifies as a SysOp on the target port.

Notes

  • This command should be used cautiously, because during the split second that you are initiating the AS command, the mob/player you are working from will have archon status and permissions. *This can have unintended consequences, and you may not get the desired affect from it. Performing an action AS a mob may be a permissible action because you are an archon performing it through the mob, but the mob may not be able to perform the action without you riding inside. Therefore, it is best to test performance by using an actual mob or player instead of the AS command.
  • If you are attempting to gather information about a player, it is better to use the STAT command, where possible.