Command:/casting

From the wonderful RedGuides Wiki

This command is added by MQ2Cast

Syntax Key
Notation Description
Text without brackets or braces Required items
<Text inside angle brackets> Placeholder for which you must supply a value
[Text inside square brackets] Optional items
Vertical bar (|) Separator for mutually exclusive items; choose one
{Text | inside | braces} Set of required items; choose one
Ellipsis () Items that can be repeated
Syntax /casting "<name>" [type] [option]...
Description The /casting command requires only 1 argument, the name of the spell you wish to cast. If the spell is not memmed, it will try and mem it in gem5 by default. If the spell has more than one word, make sure to surround it with quotes.
  • Note: Although the [type] is optional, it's always recommended to specify if you're casting a spell (specify the gem or number), clicking an item (specify "item" or the slot name/slot number) or activating an AA (specify "alt"), since there are AAs which have the same name as spells and spells and items can have the same IDs.

Options

Option Description
<"name"> Required. This can be the name of a spell, the spell ID, the name of an item (the item itself, not the spell attached to it), the item ID, an AA, or the AA ID.
[type] Not required but heavily recommended due to naming conflicts between AA's, spells and items.
Types
Flag Description
#|gem# The number of the spell gem this will be memmed to if not currently memorized. This also clarifies that you're casting a spell.
item|slotname clarifies that you're casting an item.
alt clarifies that you're casting an AA.

Examples:

/casting "Minor Shielding" gem1
/casting 68239|item
/casting "Shrunken Goblin Skull Earring" leftear
/casting "Death Peace" alt
bandolier|<name> Equip the bandolier with <name> before casting. Useful for focus effects.
invis With this parameter, it will not cast if you are invisible.
kill Keep casting until the target dies.
maxtries|<#> Cast the spell through this many failures until successful.
recast|<#> Recast the spell this many times.
setin|<name> Same as bandolier (left here for backwards-compatibility purposes).
targetid|<#> Target this ID before casting.

Examples

  • This will cast the Minor Shielding spell if it is already memmed, or if not, will attempt to memorize it in gem5 before casting.
/casting "Minor Shielding"
  • You can also include the gem number (or just the number) after the name of the spell, to indicate which gem it should be memmed into. These will both cast Minor Shielding if memmed, or memorize it in gem1 before casting:
/casting "Minor Shielding" 1
/casting "Minor Shielding" gem1
/casting "Minor Shielding|gem1"
/casting "Minor Shielding|1"
  • You can also use the ID of the spell. These will cast "Minor Shielding" (ID 288) and mem it in gem1 if not already memmed.
/casting 288|gem1
/casting 288|1
/casting 288 gem1
/casting 288 1
  • When clicking items you use the same syntax, except the "name" of the spell is the name of the item or the item's ID. It's always recommended to specify the type as "item" or specify the slot name/slot ID if you are clicking an item. For example:
/casting "Fabled Journeyman's Boots" item
/casting 68239|item
/casting "Shrunken Goblin Skull Earring" leftear
  • Casting an AA
/casting "Death Peace" alt
  • Examples with other options,
/casting "Wunshi's Focusing" gem4 -invis
/casting "Complete Heal|gem1" -kill -targetid|1234
/casting "Fizzle a Lot|gem4" -maxtries|5
/casting "uber nuke|9" -kill
/casting "cannibalize" gem3 -recast|5

See also