Variables: Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
imported>Aggelakis (historical)
mNo edit summary
imported>8691RGI (historical)
No edit summary
Line 1: Line 1:
These variables can be used in slash commands.
A variable is a placeholder for a piece of information that refers to your your current target or your currently logged in character.  Variables may be used in all types of [[:Category:Communication Commands|Communication Commands]].  When a variable is used the appropriate information referring to your target or character is substituted for the variable before it is sent to the appropriate communication channel.


'''$target''' Your current target's name<br />
=== Target Variables ===
'''$name''' Your name (minus any titles)<br />
*'''$target''' Your target's display name
'''$level''' Your level (security/threat, not combat)<br />
=== Character Variables ===
'''$archetype''' Your archetype (Tanker, Mastermind, etc)<br />
*'''$name''' Your name (minus any titles)
'''$origin''' Your origin (Science, Magic, etc)<br />
*'''$level''' Your level (security/threat, not combat)
'''$battlecry''' Your battlecry, which can be modified, along with your backstory, through the options menu.
*'''$archetype''' Your [[archetype]]
*'''$origin''' Your [[origin]]
*'''$battlecry''' Your [[battlecry]], which can be modified, along with your backstory, through the options menu.
*'''$side''' Displays "Hero" or "Villain" depending on your character's current content flag.  Content flag determines which PVP side your character is on and possibly other game-related content.
:Side values for various character [[Alignment|Alignments]]
::'''Hero''' [[Hero_(Alignment)|Hero]], [[Vigilante_(Alignment)|Vigilante]], [[Resistance_(Alignment)|Resistance]]
::'''Villain''' [[Villain_(Alignment)|Villain]], [[Rogue_(Alignment)|Rogue]], [[Loyalist_(Alignment)|Loyalist]]
 
== Example ==
 
A level 37 Blaster whose alignment is "Hero" using the following [[broadcast]] command:
:'''/b $side $archetype $level looking for group!'''
will produce the following output in the broadcast channel:
:'''''Hero Blaster 37 looking for group!'''''


== See Also ==
== See Also ==

Revision as of 00:00, 5 October 2010

A variable is a placeholder for a piece of information that refers to your your current target or your currently logged in character. Variables may be used in all types of Communication Commands. When a variable is used the appropriate information referring to your target or character is substituted for the variable before it is sent to the appropriate communication channel.

Target Variables

  • $target Your target's display name

Character Variables

  • $name Your name (minus any titles)
  • $level Your level (security/threat, not combat)
  • $archetype Your archetype
  • $origin Your origin
  • $battlecry Your battlecry, which can be modified, along with your backstory, through the options menu.
  • $side Displays "Hero" or "Villain" depending on your character's current content flag. Content flag determines which PVP side your character is on and possibly other game-related content.
Side values for various character Alignments
Hero Hero, Vigilante, Resistance
Villain Villain, Rogue, Loyalist

Example

A level 37 Blaster whose alignment is "Hero" using the following broadcast command:

/b $side $archetype $level looking for group!

will produce the following output in the broadcast channel:

Hero Blaster 37 looking for group!

See Also