Skip to content

Command improvements#679

Open
ipkpjersi wants to merge 1 commit into
2006-Scape:masterfrom
ipkpjersi:misc-improvements
Open

Command improvements#679
ipkpjersi wants to merge 1 commit into
2006-Scape:masterfrom
ipkpjersi:misc-improvements

Conversation

@ipkpjersi

Copy link
Copy Markdown
Contributor
  1. ::tele <city> (tele case) - accepts the SpellTeleport enum cities (varrock, lumbridge, falador, camelot, ardougne, watchtower, trollheim, ape_atoll) alongside the existing ::tele x y [z]. Multi-word names work via space or underscore (e.g. ::tele ape atoll).

  2. ::item <name> [amount] (item case) - if the first arg isn't numeric, resolves the name to an id (exact match preferred, else first prefix match), with an optional trailing amount. Numeric ::item 995 1000 is unchanged.

  3. ::npc <name> (npc case, developer group) - resolves an NPC name to an id, then spawns using the existing stat lookup. Numeric ::npc <id> unchanged.

  4. ::itemsearch <name> (player group, aliases searchitem/finditem) and ::npcsearch <name> (developer group, aliases searchnpc/findnpc) - list matching "name - ID: n", capped at 25 results with a total count.

  5. ::spellbook [modern|ancient|swap] - modern/normal and ancient/ancients set a specific book; swap/toggle or bare ::spellbook toggles. Same sidebar/autocast behavior as before, plus an "already on X" message when no change is needed.

1. `::tele <city>` (tele case) - accepts the SpellTeleport enum cities (varrock, lumbridge, falador, camelot, ardougne, watchtower, trollheim, ape_atoll) alongside the existing `::tele x y [z]`. Multi-word names work via space or underscore (e.g. `::tele ape atoll`).

2. `::item <name> [amount]` (item case) - if the first arg isn't numeric, resolves the name to an id (exact match preferred, else first prefix match), with an optional trailing amount. Numeric `::item 995 1000` is unchanged.

3. `::npc <name>` (npc case, developer group) - resolves an NPC name to an id, then spawns using the existing stat lookup. Numeric `::npc <id>` unchanged.

4. `::itemsearch <name>` (player group, aliases searchitem/finditem) and `::npcsearch <name>` (developer group, aliases searchnpc/findnpc) - list matching "name - ID: n", capped at 25 results with a total count.

5. `::spellbook [modern|ancient|swap]` - modern/normal and ancient/ancients set a specific book; swap/toggle or bare `::spellbook` toggles. Same sidebar/autocast behavior as before, plus an "already on X" message when no change is needed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant