1
0

Docs for C slash commands

This commit is contained in:
Emagi 2025-05-07 09:49:25 -04:00
parent 5ef2458026
commit 8910f56ef0
41 changed files with 507 additions and 0 deletions

View File

@ -0,0 +1,13 @@
### Command: /cancel_aa_profile
**Handler Macro:** UNKNOWN
**Handler Value:** 757
**Required Status:** 200
**Arguments:**
None
**Notes:**
- Cancels AA Changes, not fully tested or implemented.

View File

@ -0,0 +1,13 @@
### Command: /cancel_bank
**Handler Macro:** COMMAND_BANK_CANCEL
**Handler Value:** 73
**Required Status:** 0
**Arguments:**
None
**Notes:**
- Closes bank display and ends bank session.

View File

@ -0,0 +1,10 @@
### Command: /cancel_broker
**Handler Macro:** UNKNOWN
**Handler Value:** 999
**Required Status:** 0
**Arguments:**
None

View File

@ -0,0 +1,10 @@
### Command: /cancel_browse_market
**Handler Macro:** UNKNOWN
**Handler Value:** 999
**Required Status:** 0
**Arguments:**
None

View File

@ -0,0 +1,13 @@
### Command: /cancel_effect spell_id
**Handler Macro:** COMMAND_CANCEL_EFFECT
**Handler Value:** 530
**Required Status:** 0
**Arguments:**
- `arg[0]`: `int spell_id`
**Notes:**
- Cancels an effect on the players spell effects by the matching `spell_id`

View File

@ -0,0 +1,13 @@
### Command: /cancel_mail
**Handler Macro:** COMMAND_CANCEL_MAIL
**Handler Value:** 123
**Required Status:** 0
**Arguments:**
None
**Notes:**
- Cancels sending a mail, returns item, coin and closes the window.

View File

@ -0,0 +1,13 @@
### Command: /cancel_maintained slot_id
**Handler Macro:** COMMAND_CANCEL_MAINTAINED
**Handler Value:** 276
**Required Status:** 0
**Arguments:**
- `arg[0]`: `int slot_id`
**Notes:**
- Removes the maintained spell in the `slot_id` specified.

View File

@ -0,0 +1,13 @@
### Command: /cancel_merchant
**Handler Macro:** COMMAND_CANCEL_MERCHANT
**Handler Value:** 89
**Required Status:** 0
**Arguments:**
None
**Notes:**
- Closes out the merchant window and ends the transaction.

View File

@ -0,0 +1,13 @@
### Command: /cancel_send_mail
**Handler Macro:** COMMAND_CANCEL_SEND_MAIL
**Handler Value:** 129
**Required Status:** 0
**Arguments:**
None
**Notes:**
- Cancels sending the mail and closes the mail window.

View File

@ -0,0 +1,10 @@
### Command: /cancel_store
**Handler Macro:** UNKNOWN
**Handler Value:** 999
**Required Status:** 0
**Arguments:**
None

View File

@ -0,0 +1,13 @@
### Command: /cancel_trade
**Handler Macro:** COMMAND_CANCEL_TRADE
**Handler Value:** 175
**Required Status:** 0
**Arguments:**
None
**Notes:**
- Cancels the current Player/Bot trade and closes the trade window.

View File

@ -0,0 +1,10 @@
### Command: /cancel_work
**Handler Macro:** UNKNOWN
**Handler Value:** 999
**Required Status:** 0
**Arguments:**
None

View File

@ -0,0 +1,13 @@
### Command: /cannedemote emote_name
**Handler Macro:** COMMAND_CANNEDEMOTE
**Handler Value:** 144
**Required Status:** 0
**Arguments:**
- `arg[0]`: `string emote_name`
**Notes:**
- Makes the Player do a cannedemote with the `emote_name` specified.

View File

@ -0,0 +1,10 @@
### Command: /cast_guild_leader_vote
**Handler Macro:** UNKNOWN
**Handler Value:** 999
**Required Status:** 0
**Arguments:**
None

View File

@ -0,0 +1,18 @@
### Command: /castspell [spellid|spellname] [tier] [self]
**Handler Macro:** COMMAND_CASTSPELL
**Handler Value:** 509
**Required Status:** 200
**Arguments:**
- `arg[0]`: `int spellid`
- `arg[0]`: `string spellname`
- `arg[1]`: `int tier`
- `arg[2]`: `int self`
**Notes:**
- /castspell spellid and /castspell spellname supported. `spellid` casts the spell where `spellname` is a search function to get a list of spell ids by spell name wildcard.
- Casts the spellid presented on yourself or target based on the target of the spell and your current target.
- Tier and self are optional, both numerical, Third argument `self` = 1 means self spell. Eg. /castspell 1234 1 `1`

View File

@ -0,0 +1,10 @@
### Command: /champion_respawn
**Handler Macro:** UNKNOWN
**Handler Value:** 999
**Required Status:** 0
**Arguments:**
None

View File

@ -0,0 +1,13 @@
### Command: /chatleave channel_name
**Handler Macro:** COMMAND_LEAVE_CHANNEL
**Handler Value:** 297
**Required Status:** 0
**Arguments:**
- `arg[0]`: `string channel_name`
**Notes:**
- Player leaves the chat channel by the `channel_name` specified

View File

@ -0,0 +1,13 @@
### Command: /chatwho channel_name
**Handler Macro:** COMMAND_WHO_CHANNEL
**Handler Value:** 298
**Required Status:** 0
**Arguments:**
- `arg[0]`: `string channel_name`
**Notes:**
- Lists the members of the chat channel specified in `channel_name`

View File

@ -0,0 +1,14 @@
### Command: /claim [claim_id]
**Handler Macro:** COMMAND_CLAIM
**Handler Value:** 18
**Required Status:** 0
**Arguments:**
- `arg[0]`: `int claim_id`
**Notes:**
- /claim Brings up the claim window UI for the Player.
- /claim `claim_id` allows the Player to claim the id specified from their available claim list.

View File

@ -0,0 +1,16 @@
### Command: /class class_id
**Handler Macro:** COMMAND_CLASS
**Handler Value:** 4
**Required Status:** 10
**Arguments:**
- `arg[0]`: `int class_id`
**Usage Examples:**
- ` /class {class_id}");`
**Notes:**
- Changes the class of the Player.

View File

@ -0,0 +1,10 @@
### Command: /clear_mailbox
**Handler Macro:** UNKNOWN
**Handler Value:** 999
**Required Status:** 0
**Arguments:**
None

View File

@ -0,0 +1,13 @@
### Command: /clearallqueuedabilities
**Handler Macro:** COMMAND_CLEAR_ALL_QUEUED
**Handler Value:** 265
**Required Status:** 0
**Arguments:**
None
**Notes:**
- Clears all queued abilities on the spell bar.

View File

@ -0,0 +1,10 @@
### Command: /close_store_keep_selling
**Handler Macro:** UNKNOWN
**Handler Value:** 999
**Required Status:** 0
**Arguments:**
None

View File

@ -0,0 +1,14 @@
### Command: /collection_additem collection_id item_index
**Handler Macro:** COMMAND_COLLECTION_ADDITEM
**Handler Value:** 30
**Required Status:** 0
**Arguments:**
- `arg[0]`: `int collection_id`
- `arg[1]`: `int item_index`
**Notes:**
- Adds the item in the `item_index` to the Player's collection by the `collection_id` specified.

View File

@ -0,0 +1,13 @@
### Command: /collection_filter_matchitem slot_id
**Handler Macro:** COMMAND_COLLECTION_FILTER_MATCHITEM
**Handler Value:** 31
**Required Status:** 0
**Arguments:**
- `arg[0]`: `int slot_id`
**Notes:**
- This command seems unimplemented.

View File

@ -0,0 +1,13 @@
### Command: /commit_aa_profile
**Handler Macro:** UNKNOWN
**Handler Value:** 752
**Required Status:** 200
**Arguments:**
None
**Notes:**
- Commit AA changes, this is an incomplete command.

View File

@ -0,0 +1,10 @@
### Command: /confirm_zone
**Handler Macro:** UNKNOWN
**Handler Value:** 999
**Required Status:** 0
**Arguments:**
None

View File

@ -0,0 +1,13 @@
### Command: /confirmedlastname
**Handler Macro:** COMMAND_CONFIRMLASTNAME
**Handler Value:** 29
**Required Status:** 0
**Arguments:**
None
**Notes:**
- Confirms the last name change set by /lastname.

View File

@ -0,0 +1,13 @@
### Command: /confirmedrename
**Handler Macro:** COMMAND_CONFIRMRENAME
**Handler Value:** 141
**Required Status:** 0
**Arguments:**
None
**Notes:**
- Confirms renaming your pet, handler is setup, but this command is not implemented.

View File

@ -0,0 +1,13 @@
### Command: /consume_food slot
**Handler Macro:** COMMAND_CONSUME_FOOD
**Handler Value:** 304
**Required Status:** 0
**Arguments:**
- `arg[0]`: `int slot`
**Notes:**
- This will consume food or drink in the slot represented. This slot number will vary on the client. Also for older clients it sends a slot index in some circumstances.

View File

@ -0,0 +1,10 @@
### Command: /container
**Handler Macro:** UNKNOWN
**Handler Value:** 999
**Required Status:** 0
**Arguments:**
None

View File

@ -0,0 +1,10 @@
### Command: /contest
**Handler Macro:** UNKNOWN
**Handler Value:** 999
**Required Status:** 0
**Arguments:**
None

View File

@ -0,0 +1,17 @@
### Command: /craftitem item_id quantity
**Handler Macro:** COMMAND_CRAFTITEM
**Handler Value:** 526
**Required Status:** 100
**Arguments:**
- `arg[0]`: `string item_id`
- `arg[1]`: `int quantity`
**Usage Examples:**
- `/craftitem {item_id} [quantity] ");`
**Notes:**
- This is a GM test command to tradeskill craft an item specified by `item_id` and the `quantity`tradeskill . It can also trigger quest craft update on the item.

View File

@ -0,0 +1,13 @@
### Command: /create
**Handler Macro:** COMMAND_CREATE
**Handler Value:** 256
**Required Status:** 0
**Arguments:**
None
**Notes:**
- Displays the Player's Recipe Book for Tradeskills and Crafting.

View File

@ -0,0 +1,14 @@
### Command: /guilds create guild_name [player_name]
**Handler Macro:** COMMAND_CREATE_GUILD
**Handler Value:** 257
**Required Status:** 0
**Arguments:**
- `arg[0]`: `string guild_name`
- `arg[1]`: `string player_name`
**Notes:**
- Creates a new guild with the `guild_name`. The `player_name` is optional, it will assign to yourself, also if you are not a GM/Admin you cannot assign others a guild.

View File

@ -0,0 +1,13 @@
### Command: /createfromrecipe recipe_id
**Handler Macro:** COMMAND_CREATEFROMRECIPE
**Handler Value:** 299
**Required Status:** 0
**Arguments:**
- `arg[0]`: `int recipe_id`
**Notes:**
- Based on the Player's Recipe Book the `recipe_id` will be used to start the create craft window, assuming criteria like at the right tradeskill station is met.

View File

@ -0,0 +1,10 @@
### Command: /csay
**Handler Macro:** UNKNOWN
**Handler Value:** 999
**Required Status:** 0
**Arguments:**
None

View File

@ -0,0 +1,17 @@
### Command: /cureplayer identifier cure_type [spell_type]
**Handler Macro:** COMMAND_CUREPLAYER
**Handler Value:** 531
**Required Status:** 0
**Arguments:**
- `arg[0]`: `string identifier`
- `arg[1]`: `string cure_type`
- `arg[2]`: `string spell_type`
**Notes:**
- Identifies in Player's inventory a potion or spell that can cure the `identifier` (target spawn). `spell_type` is an optional field.
- /cureplayer [playername|group or raid position][trauma|arcane|noxious|elemental|curse] optional [spell|potion]
- Example: /cureplayer g0 noxious spell - Will attempt to cure yourself of a noxious detriment with only spells and without using potions (even if you have them).

View File

@ -0,0 +1,10 @@
### Command: /currency
**Handler Macro:** UNKNOWN
**Handler Value:** 999
**Required Status:** 0
**Arguments:**
None

View File

@ -0,0 +1,10 @@
### Command: /current_drink
**Handler Macro:** UNKNOWN
**Handler Value:** 999
**Required Status:** 0
**Arguments:**
None

View File

@ -0,0 +1,10 @@
### Command: /current_food
**Handler Macro:** UNKNOWN
**Handler Value:** 999
**Required Status:** 0
**Arguments:**
None