Commands: Difference between revisions

From Stormhalter
Jump to: navigation, search
Neorift12 (talk | contribs)
No edit summary
Jesse (talk | contribs)
overhaul
Line 2: Line 2:
[[Category:Client]]
[[Category:Client]]
<div>
<div>
* Text commands are used to augment the default commands associated with game icons (and which appear in the action indicator).  Text commands are entered into the command line from your keyboard and are executed by pressing the <Enter> key.


* Text commands follow a general, standardized format, although there may be different ways to phrase some text commands that are not explicitly mentioned; therefore, you may find various permutations of the text commands.  You should experiment with optional ways of using text commands – but do so in a safe location, where your character’s life is not being threatened while you experiment.
= Commands =
From Stormhalter


* Text commands must be entered exactly, with correct spelling and using the proper syntax.  Spelling errors or improper syntax will result in an "invalid command" message; type and enter a valid command (or use a default command) to clear the error.
Jump to: navigation, search


* Text commands may be repeated by typing <span class="command-input">"again"</span> (abbreviated <span class="command-input">"a"</span>), which is identical to typing the previous command. Commands can be repeated as many times as necessary. Text messages (conversation) will not be repeated by the "again" text command.
== Quick Reference Table ==
*Up and down arrow key can be used on the command line to scroll through command history. This is useful for repeating commands, for example the command sequence 'olaf, train' 'swap' 'olaf, train' 'swap' could be performed with 'olaf, train' 'swap' up,up up,up
{| class="wikitable"
!Command
!Category
!Brief Description
!Supports Targeting Filters?
|-
|drink
|Item
|Consume bottle contents
|Implicit (item location)
|-
|eat
|Item
|Consume food
|Implicit (item location)
|-
|take
|Item
|Pick up an item
|Yes (for entities/objects)
|-
|sack
|Item
|Place item in sack
|Implicit (item location)
|-
|drop
|Item
|Drop an item
|Implicit (item)
|-
|dump
|Item
|Drop all of category
|No
|-
|belt
|Item
|Sheath item in belt
|Implicit (item)
|-
|wield
|Item
|Wield a weapon
|Implicit (item)
|-
|swap
|Item
|Swap hands
|No
|-
|push
|Item
|Push object/entity
|Yes
|-
|up / u
|Movement
|Ascend stairs
|No
|-
|down / d
|Movement
|Descend stairs
|No
|-
|climb up
|Movement
|Ascend pit/cliff
|Implicit (stats/encumbrance)
|-
|climb down
|Movement
|Descend pit/cliff
|Implicit (stats/encumbrance)
|-
|w / e / n / s / nw / ne / sw / se
|Movement
|Move in direction (player or controlled entity)
|No
|-
|follow
|Control
|Controlled entity follows
|Yes (e.g., follow target)
|-
|stop
|Control
|Controlled entity stops
|No
|-
|attack
|Control
|Controlled entity attacks
|Yes
|-
|trail
|Control
|Controlled entity trails
|No
|-
|begone
|Control
|Dismiss controlled entity
|No
|-
|volume
|Settings
|Adjust game volume
|No
|-
|help
|General
|Show command overview
|No
|-
|{trainer}, train {gold}
|General
|Train at trainer
|No
|-
|{vendor}, show prices
|General
|Show vendor prices
|No
|-
|{vendor}, sell {#}
|General
|Sell item by number
|No
|-
|cast
|Action
|Cast a spell
|Yes
|-
|shoot
|Action
|Shoot projectile
|Yes (default: hostile)
|-
|throw
|Action
|Throw item
|Yes (default: hostile)
|-
|nock
|Action
|Nock bow/arrow
|No
|-
|jumpkick
|Action
|Jumpkick target
|Yes (default: distant:hostile)
|-
|fight
|Action
|Melee attack
|Yes (default: near:hostile)
|-
|use
|Action
|Use an item (e.g., in combat)
|Implicit (item location)
|-
|party create {name}
|Party
|Create party
|No
|-
|party join {partyname}
|Party
|Join party
|No
|-
|party {msg}
|Party
|Send party message
|No
|-
|party leave
|Party
|Leave party
|No
|-
|party disband
|Party
|Disband party
|No
|-
|setlevel
|Sandbox
|Set level
|No
|-
|setskill
|Sandbox
|Set skill
|No
|-
|gold
|Sandbox
|Add gold
|No
|-
|go
|Sandbox
|Teleport
|No
|-
|goname
|Sandbox
|Teleport to entity
|No
|-
|invis
|Sandbox
|Become invisible
|No
|-
|invul
|Sandbox
|Become invulnerable
|No
|-
|respawn
|Sandbox
|Respawn area
|No
|}
''Note: This table lists core commands. For full details, see sections below. Targeting filters enhance action and control commands; see Targeting Filters. Additional commands may exist; experiment safely.''
 
== Introduction to Text Commands ==
Text commands augment the default icon-based actions (visible in the action indicator). Enter them via the keyboard into the command line.  Press <enter> to allow text entry and press <enter> again to execute.
 
The command/conversation toggle (left of command line) auto-redirects if input starts with "/" (e.g., "/hello" converses even in command mode). Alternatively, you can switch between command and conversation modes by pressing <tab> or clicking on the toggle directly.
 
Commands follow a standardized format, but variations exist—experiment safely. Spelling and syntax must be exact; errors yield "That is not a valid command."
 
* Repeat commands with again (or a), which re-executes the last command, including targets or filters.
* Use up/down arrows to scroll command history (e.g., for alternating sequences like "olaf, train" then "swap").
* Commands execute one at a time; no combining.
* Many commands (e.g., action or entity-related) support advanced targeting filters via @[filter1:filter2:...]. See Targeting Filters.
 
== Volume ==
Adjust game volume via Settings at startup or command line.
 
* '''Settings''': Use the in-game menu.
* '''Command line''': volume 50 → Sets volume to 50%.
 
== Item Management ==
These commands handle consuming, picking up, dropping, equipping, and pushing items.
 
=== Drink ===
Consumes a bottle's contents. Searches implicitly: right hand, left hand, sack (bottom to top, right to left).
 
* drink: Drinks first found bottle.
* drink bottle: Drinks first bottle.
 
'''Example''': drink bottle → Consumes the first bottle via default search.
 
=== Eat ===
Consumes food. Searches implicitly: right hand, left hand, sack (bottom to top, right to left).
 
* eat: Eats first found food.
* eat mugwort: Eats first mugwort.
 
'''Example''': eat mugwort → Consumes the first found mugwort.
 
=== Use ===
Activates or uses an item. Checks, in order: right hand, left hand, paperdoll, left rings, right rings.
 
* use {item}: Uses the specified item.
* use: Uses the first eligible item.
 
'''Examples''':
 
* use ring
* use scales
* use 1 ring from left (1-4, right or left.)
 
=== Take ===
Picks up an item from the ground, environment, or manipulates rings. Requires a free hand for rings.
 
* take {item}: Takes the item.
* take: Takes the first available item.


* Text commands must be entered one at a time and may not be combined.
Can support targeting filters for specific objects.
<br />
 
The command/conversation toggle, located immediately to the left of the command line, is not required be in the correct position (signified by sword icon) before you may issue a text command. The input will be redirected to the alternative toggle if the input begins with a forward-slash. For example: issuing "/hello" while under the command toggle will converse with "hello."
'''Examples''':
</div>
 
<br />
* take bottle
<div>
* take broadsword (Helps with fumbles; note dead mobs may use same weapons.)
==Volume==
* take 1 ring off left (1-4, right or left.)
Changing the volume of your game volume is possible via Settings at startup and via command line
* take gold from counter
* Settings
 
* Command line <span class="command-input">"volume 50"</span>. Translates to Volume of 50%
=== Sack ===
</div>
Picks up a sackable item from the floor and puts it in your sack (if room).
<br />
 
<div>
* sack {item}: Sacks the item.
==Drink==
 
Drink the contents of a bottle item.
'''Examples''':
*<span class="command-input">"drink"</span>
 
*<span class="command-input">"drink balm"</span>
* sack bottle (Caution: Some bottles are harmful like Napalm, Nitro, Poison, and Urine.)
Checks, in order: Right hand, left hand, sack in order of bottom to top, right to left.
* sack gem
</div>
* sack bottle from counter
<br />
 
<div>
=== Drop and Dump ===
==Eat==
 
Eat the contents of a food item.
* drop {item}: Drops the item (opposite of take).
*<span class="command-input">"eat"</span>
* drop {item} on counter: Drops on counter.
*<span class="command-input">"eat mugwort"</span>
* dump {category}: Drops all items in category.
Checks, in order: Right hand, left hand, sack in order of bottom to top, right to left.
* dump {category} on counter: Drops category on counter.
</div>
 
<br />
'''Examples''':
<div>
 
==Stairs==
* drop ring
Changing levels of the dungeon is usually done by going up and down stairs. To ascend or descend a staircase, move to the staircase hex and use the following commands:
* drop ring on counter
*<span class="command-input">"up"</span>, can be shortened to <span class="command-input">"u"</span>
* dump gems
*<span class="command-input">"down"</span>, can be shortened to <span class="command-input">"d"</span>
* dump gems on counter
Moving up and down cannot be mixed with horizontal motion. Do not use the <span class="command-input">“climb up”</span> or <span class="command-input">“climb down”</span> commands for stairs.
 
</div>
=== Belt ===
<br />
Sheaths a weapon in your belt.
<div>
 
==Climbing==
* belt {weapon}: Sheaths the weapon.
In addition to staircases, you can attempt to climb up and down pits, cliffs and walls. A character’s climbing ability depends on strength, encumbrance, character class and luck. <span class="unverified">Martial Artists and Thieves receive special training in climbing, so they have a strong advantage in this area.</span>
 
Anyone can climb down a pit; however, to climb up, you must have reasonable strength and climbing ability or you will fall.  Climbing requires at least one hand to be empty <span class="unverified">(most pits require two empty hands)</span>. Note:  Using the <span class="command-input">"down"</span> command in a pit will most likely cause you to fall. <br />Instead, use: <span class="command-input">"climb down"</span>
'''Example''':
<br />To climb up a pit, use:
 
<span class="command-input">"climb up"</span>
* belt broadsword
</div>
 
<br />
=== Wield ===
<div class="tooltip unimplemented">
Pulls a weapon from your belt.
<span class="tooltiptext">Unimplemented</span>
 
==Crawl ==
* wield {weapon}: Wields the weapon.
From time to time, you will find yourself in a situation where you can’t see where you are going, and you do not want to risk running into or falling off of something. The <span class="command-input">"crawl"</span> command will allow you to move one hex in any of the eight directions without fear of falling. This command is much slower than normal movement. To safely move one hex to the northwest you would use:
 
<span class="command-input">"crawl nw"</span>
'''Example''':
</div>
 
<br />
* wield broadsword
<div>
 
==Swimming==
=== Swap ===
It is possible to swim across bodies of water if your encumbrance is lower than moderate; even if you are moderately encumbered, you might be able to swim. Because of swift and treacherous currents, it takes longer to cover distances by swimming than by walking; therefore, you can move only one hex at a time when swimming. These limitations do not apply to sea creatures; sharks can swim much faster than you can. You would swim much similar to horizontal movement.
Switches items between hands (works if both full).
<br /><br />
 
Bodies of deep water will pull you under, making it difficult to breathe. The <span class="command-input">"swim"</span> command is associated with any water hex, it will bring you above the surface to catch your breath.
* swap: Swaps hands.
</div>
 
<br />
'''Example''':
<div class="tooltip unimplemented">
 
<span class="tooltiptext">Unimplemented</span>
* swap
==Diving==
 
While swimming, you may dive and spend a short period on the bottom, then return to the surface for air. To do so, type and enter the text command: <span class="command-input">"dive"</span>. Unless you are under the influence of the Breathe Water spell, you must swim or dive constantly; otherwise, you will drown within a few moments after you stop swimming or diving.
=== Push ===
</div>
Moves heavy items along ground, up/down stairs (if strong enough). You move with the item—avoid pushing off cliffs!
<br />
 
<div>
* push {item} {direction}: Pushes item in direction.
==Pushing==
* push {item} {count} {direction}: Pushes specific instance.
If an item is too heavy to lift and you want to move it somewhere, you can push it along the ground -- and, if you are strong enough, up and down stairs.
 
<br />
Supports targeting filters.
*<span class="command-input">"push corpse north"</span> will move a corpse in your hex one hex to the north.
 
*<span class="command-input">"push bottle 2 north"</span> will move the second bottle north.
'''Examples''':
 
* push corpse north
* push bottle 2 north
 
== Movement Commands ==
 
=== Stairs ===
Ascend/descend by moving to hex and using:
 
* up (or u): Ascends.
* down (or d): Descends.
 
No mixing with horizontal movement. Avoid climb up/down for stairs.
 
=== Directions ===
Move player in directions: w (west), e (east), n (north), s (south), nw, ne, sw, se.
 
* Enter multiple for repeated moves: w w w → Moves 3 west.
 
=== Climbing ===
Attempt pits, cliffs, or walls. Success: strength, encumbrance, class (Martial Artists/Thieves advantaged), luck. Needs empty hand(s) (most pits: two). "Down" in pits risks fall—use climb down.
 
* climb up: Ascends.
* climb down: Descends.
 
Implicitly filters by stats/conditions. For related entity targeting, see Targeting Filters.
 
''(Note: Currently unimplemented.)''
 
== Controlling Summons and NPCs ==
Guide summons (e.g., phantasms) or certain NPCs (e.g., "gus, follow"). Prefix with name/abbrev (e.g., "ph" for phantasm, "dj", "ef", "1-3", "all").
 
They understand movement, carrying, pushing.
 
* {name}, follow: Follows you (or follow {name} for friend).
* {name}, stop: Ceases actions.
* {name}, attack {mob}: Attacks (supports filters; abbrev mob names).
* {name}, trail 1: Follows one hex behind (careful not to lose sight).
* {name}, begone: Dismisses.
* {name}, take {item}: Picks up (e.g., coin, gems).
* {name}, dump {item}: Drops (add "on counter").
* {name}, {direction}: Moves (e.g., phantasm, w; multiple: all, w w w; also u/d).
* {name}, push {item} {direction}: Pushes.
 
''Notes: Can't obey if out of hearing; can't climb ropes (yet?).''
 
'''Examples''':
 
* ph, follow
* all, stop
* all, attack (mob name or abbreviation)
* all, trail 1
* all, begone
* 1, take coin
* 1, dump coin or 1, dump coin on counter
* all, w w w → Moves 3 west.
* 1, push coin w
* attack @[hostile:near] → Attacks nearest hostile.
 
== Action Commands ==
Commands for actions like attacking or casting (not always in combat). Most support targeting; implicit defaults apply and do not need to be specified. Flagged players attackable without extras.
 
* '''Fight''': Melee. fight @[target]. Implicit default: near:hostile.
* '''Jumpkick''': Jump. jumpkick @[target]. Implicit default: distant:hostile.
* '''Nock''': Prepare bow. nock {bow}. Typically used before shoot.
* '''Shoot''': Projectile (after nock). shoot {bow} @[target]. Implicit default: hostile.
* '''Throw''': Item. throw {item} @[target]. Implicit default: hostile.
* '''Cast''': Spell (sometimes non-combat). cast {spell} at @[target]. No implicit default; specify if needed. Use serial for spells like locate: cast locate at @[serial(987654)].
* '''Use''': Activate item/weapon (e.g., in combat). use {item} (e.g., use bow).
 
See Targeting Filters.
 
== Targeting Filters ==
Specify entities for cast, shoot, throw, jumpkick, attack (controlled entities), etc. Use @[filter1:filter2:...]; process in order.
 
=== Filter Categories ===
 
==== Alignment ====
 
* '''hostile''': Attackable, including flagged players.
* '''friendly''': Not hostile to you.
 
==== Type ====
 
* '''pc''': Player-controlled.
* '''npc''': Non-player.
* '''conjured''': Subordinates (e.g., summons).
 
==== Health State ====
 
* '''injured''': Not max health.
* '''healthy''': Max health.
* '''deathly''': Near death.
 
==== Activity ====
 
* '''casting''': Casting (warmed).


Important note:  You will move along with the item you are pushing, so think twice before you push that dead critter off a cliff!
==== Weapon Type ====
</div>
<br />
<div>
==Belt, Wield & Swap==
Every so often you'll need to change weapons or put one away to make a climb.
<br />
*<span class="command-input">"belt broadsword"</span> will sheath your broadsword in your belt.
*<span class="command-input">"wield broadsword"</span> will pull your broadsword from your belt.
*<span class="command-input">"swap"</span> will switch items between hands, can be performed while both hands are full.<br />
</div>
<br />
<div>
==Take and Sack==
The "Take" command will allow you to pick up items on your hex and manipulate rings you're wearing.<br />
Examples:
*<span class="command-input">“take bottle”</span>
*<span class="command-input">“take broadsword”</span> (Sometimes helps when you fumble. *Provided dead mobs on your hex don't use the same weapons.)
*<span class="command-input">“take 1 ring off left”</span> (*requires a free hand. 1-4, right or left.)
<br />
The "Sack" command will allow you to pick a sackable item from the floor and put it in your sack. (*provided there is room.)
Examples:
*<span class="command-input">“sack bottle”</span> (*Be careful, some bottles are bad.  Napthas, Nitros, Poison, Urine and water won't save you.)
*<span class="command-input">“sack gem”</span>
<br />
Also worth mentioning here is "Drop" and "Dump":
*<span class="command-input">“drop (item)”</span> does the opposite of take. "drop ring", or "drop ring on counter" will drop a ring on the floor or counter respectively.
*<span class="command-input">“dump (items)”</span> drops all items in that category.  ie: "dump gems", "dump rings", "dump gems on counter", etc.
<br />
</div>
<br />
<div>
==Use==
The "Use" command will allow you to use items on your character.<br />
Examples:
*<span class="command-input">“use ring”</span>
*<span class="command-input">“use scales”</span>
*<span class="command-input">“use 1 ring from left”</span> (1-4, right or left.)
<br />
Checks, in order: Right hand, left hand, paperdoll, left rings, right rings.
</div>
<br />
<div>
==Controlling 9Phantasms and Pets==
These are the commands to help you guide and control your summons.<br />
Examples:
*<span class="command-input">“ph, follow”</span> (where "ph" is phantasm but can be replaced with "dj", "ef", by the numerical designation "1-3", or simply "all".)  You can also have them follow a friend!  (via, "all, follow (name)")
In this mode, they will follow you until you say...
*<span class="command-input">“all, stop”</span> instructs them to cease all actions.


==Other important commands to familiarize with include:==
* '''melee''': Melee weapon.
*<span class="command-input">“all, attack (mob name or abbreviation)”</span> instructs them to destroy the designated enemy.
* '''ranged''': Projectile weapon.
*<span class="command-input">“all, trail 1”</span> instructs them to follow one hex behind.  Be careful not to trail them beyond sight.
*<span class="command-input">“all, begone”</span> instructs them to go back from whence they came.
<br />
They also understand basic movement commands and can carry or push your gold and loot.<br />
Examples:
*<span class="command-input">“1, take coin”</span> instructs him/them to pick up the gold on their hex.  This works for gems and such too.
*<span class="command-input">“1, dump coin”</span> instructs them to dump the coin, or "gems", etc., include "on counter" to have them dump it on a counter.
*<span class="command-input">“all, (direction)”</span> instructs them to move in a chosen direction.  "all, w w w" would have them move 3-hexes west.  Also, u(up), and d(down).<br />*They cannot obey you if they can no longer hear you, and they cannot climb ropes.  (yet?)
*<span class="command-input">“1, push coin w”</span> instructs (1) to push a coin on his hex one hex to the west.
<br />They also include vendor commands such as:


* Vendor, show prices
==== Distance ====
* Vendor, sell 1 (where 1 is the item number listed)
* Vendor, buy item (where item is unique and specified
* Vendor, buy all</div>
<div>


==Abbreviations ==
* '''near''': Dist 0.
When entering text commands, abbreviations often may be used for efficiency. Note that specific text commands can be shortened to the least number of characters necessary to make the command unique. For example, <span class="command-input">“fight”</span> shortens to <span class="command-input">“f”</span>; and directions may be abbreviated by entering one or two indicative letters.<br /><b>For example:</b> <span class="command-input">“n”</span> for north, or <span class="command-input">“se”</span> for southeast.
* '''distant''': Dist 1-3.
* '''far''': Dist 3.
* '''distance(value)''': Specific (0-3).


==== Effects ====


Likewise, when speaking to a non-player character, using the first one or two letters of the character’s name often will suffice instead of the full name.  
* '''poisoned''': Poisoned.
<br /><b>For example:</b> <span class="speech-input">m, deposit</span> may be used instead of <span class="speech-input">Marlis, deposit</span>.
* '''feared''': Feared.
* '''stunned''': Stunned/dazed.
* '''blind''': Blinded.


==== Specific Selectors ====


Creature names can be abbreviated as well. <br /><b>For example:</b> “sk” for skeleton, or “wy” for wyvern.
* '''index(value|last)''': Index or last.
</div>
* '''serial(value)''': Serial number.
<br />
* '''mouseover''': Under mouse (client-side).
<div style="margin: auto; width: 80%;" class="frame-3-pages">
{| width="100%"
|-
!Command!!Description
|-
|help||Show overview of some commands.
|-
|<trainer's name>, train <gold amount>||Trains at the current trainer for the specified gold amount.
|}


</div>
=== Examples ===


Sandbox Specific Commands
* cast at @[hostile:index(last)]: Last hostile.
* shoot bow at @[distant:hostile]: Distant hostile.
* cast at @[friendly:poisoned:pc]: Friendly poisoned PC.
* cast at @[hostile:far]: Furthest hostile.
* throw dagger at @[hostile:npc:far:casting]: Far casting NPC.
* ph, attack at @[mouseover]: If mouseover.
* cast locate at @[serial(295807)]: Locate specific.


setlevel x        (setlevel 20)         sets your level
Order matters: [index(last):injured] ≠ [injured:index(last)].


setskill x y        (setlevel sword 19) sets your skill
Implicit defaults (do not need specifying):


gold x              (gold 10000)        drops gold on your hex, defaults to 1000?
* fight: near:hostile.
* jumpkick: distant:hostile.
* shoot/throw: hostile.


go segment      (go blood)             teleports you to a segment go x y [z]        (go 10 13 5)       teleports you to x y coordinates on z level if included
== Abbreviations ==
Abbreviations for efficiency: Shorten to unique characters (e.g., f for fight). Directions: one/two letters (e.g., n north, se southeast).


goname x        (go Overlord)       teleports you to a named entity
NPCs: First one/two letters (e.g., m, deposit for Marlis).


invis                                              makes you invisible
Creatures: Abbrev names (e.g., sk skeleton, wy wyvern).


invul                                              makes you invulnerable
== General and Vendor Commands ==
{| class="wikitable"
!Command
!Description
!Example
|-
|help
|Show overview of some commands.
|help
|-
|{trainer's name}, train {gold amount}
|Trains for specified gold.
|olaf, train 100
|-
|{vendor}, show prices
|Shows vendor prices.
|rolf, show prices
|-
|{vendor}, sell {#}
|Sells item by number.
|r, sell 1
|}


respawn                                         respawns the area you're in
== Sandbox Specific Commands ==
{| class="wikitable"
!Command
!Description
!Example
|-
|setlevel {x}
|Sets level.
|setlevel 20
|-
|setskill {x} {y}
|Sets skill.
|setskill sword 19
|-
|gold {x}
|Drops gold (defaults 1000?).
|gold 10000
|-
|go {segment}
|Teleports to segment.
|go blood
|-
|go {x} {y} {z}
|Teleports to coordinates.
|go 10 13 5
|-
|goname {x}
|Teleports to entity.
|goname Overlord
|-
|invis
|Makes invisible.
|invis
|-
|invul
|Makes invulnerable.
|invul
|-
|respawn
|Respawns area.
|respawn
|}


==Party Commands==
== Party Commands ==
{| class="wikitable"
{| class="wikitable"
|+Party Commands
!Command
!Command
!Description
!Description
!Example
!Example
|-
|-
|<span class="command-input">“party create {partyname}”</span>
|party create {name}
|Creates a party with name "partyname" - ignore brackets when actually typing the command.  
|Creates party.
|Party create Valley
|party create Valley
|-
|-
|<span class="command-input">“party join {partyname}</span>
|party join {partyname}
|Joins a party with name "partyname" - ignore brackets when actually typing the command. Requires a party exist first
|Joins party.
|Party join Valley
|party join Valley
|-
|-
|<span class="command-input">“party {How are you?}”</span>
|party {message}
|Sends a message to all party members in joined party with message of "How are you?" Requires a party exist first, user is joined to the party. Ignore brackets when actually typing the command.  
|Sends message.
|Party That shifty orc killed me and brutally looted my rotting corpse. Woe is me.
|party That shifty orc killed me and brutally looted my rotting corpse. Woe is me.
|-
|-
|<span class="command-input">“party leave”</span>
|party leave
|Leaves the current party you are part of
|Leaves party.
|
|party leave
|-
|party disband
|Disbands party.
|party disband
|}
|}
</div>

Revision as of 05:37, 11 July 2025

Commands

From Stormhalter

Jump to: navigation, search

Quick Reference Table

Command Category Brief Description Supports Targeting Filters?
drink Item Consume bottle contents Implicit (item location)
eat Item Consume food Implicit (item location)
take Item Pick up an item Yes (for entities/objects)
sack Item Place item in sack Implicit (item location)
drop Item Drop an item Implicit (item)
dump Item Drop all of category No
belt Item Sheath item in belt Implicit (item)
wield Item Wield a weapon Implicit (item)
swap Item Swap hands No
push Item Push object/entity Yes
up / u Movement Ascend stairs No
down / d Movement Descend stairs No
climb up Movement Ascend pit/cliff Implicit (stats/encumbrance)
climb down Movement Descend pit/cliff Implicit (stats/encumbrance)
w / e / n / s / nw / ne / sw / se Movement Move in direction (player or controlled entity) No
follow Control Controlled entity follows Yes (e.g., follow target)
stop Control Controlled entity stops No
attack Control Controlled entity attacks Yes
trail Control Controlled entity trails No
begone Control Dismiss controlled entity No
volume Settings Adjust game volume No
help General Show command overview No
{trainer}, train {gold} General Train at trainer No
{vendor}, show prices General Show vendor prices No
{vendor}, sell {#} General Sell item by number No
cast Action Cast a spell Yes
shoot Action Shoot projectile Yes (default: hostile)
throw Action Throw item Yes (default: hostile)
nock Action Nock bow/arrow No
jumpkick Action Jumpkick target Yes (default: distant:hostile)
fight Action Melee attack Yes (default: near:hostile)
use Action Use an item (e.g., in combat) Implicit (item location)
party create {name} Party Create party No
party join {partyname} Party Join party No
party {msg} Party Send party message No
party leave Party Leave party No
party disband Party Disband party No
setlevel Sandbox Set level No
setskill Sandbox Set skill No
gold Sandbox Add gold No
go Sandbox Teleport No
goname Sandbox Teleport to entity No
invis Sandbox Become invisible No
invul Sandbox Become invulnerable No
respawn Sandbox Respawn area No

Note: This table lists core commands. For full details, see sections below. Targeting filters enhance action and control commands; see Targeting Filters. Additional commands may exist; experiment safely.

Introduction to Text Commands

Text commands augment the default icon-based actions (visible in the action indicator). Enter them via the keyboard into the command line. Press <enter> to allow text entry and press <enter> again to execute.

The command/conversation toggle (left of command line) auto-redirects if input starts with "/" (e.g., "/hello" converses even in command mode). Alternatively, you can switch between command and conversation modes by pressing <tab> or clicking on the toggle directly.

Commands follow a standardized format, but variations exist—experiment safely. Spelling and syntax must be exact; errors yield "That is not a valid command."

  • Repeat commands with again (or a), which re-executes the last command, including targets or filters.
  • Use up/down arrows to scroll command history (e.g., for alternating sequences like "olaf, train" then "swap").
  • Commands execute one at a time; no combining.
  • Many commands (e.g., action or entity-related) support advanced targeting filters via @[filter1:filter2:...]. See Targeting Filters.

Volume

Adjust game volume via Settings at startup or command line.

  • Settings: Use the in-game menu.
  • Command line: volume 50 → Sets volume to 50%.

Item Management

These commands handle consuming, picking up, dropping, equipping, and pushing items.

Drink

Consumes a bottle's contents. Searches implicitly: right hand, left hand, sack (bottom to top, right to left).

  • drink: Drinks first found bottle.
  • drink bottle: Drinks first bottle.

Example: drink bottle → Consumes the first bottle via default search.

Eat

Consumes food. Searches implicitly: right hand, left hand, sack (bottom to top, right to left).

  • eat: Eats first found food.
  • eat mugwort: Eats first mugwort.

Example: eat mugwort → Consumes the first found mugwort.

Use

Activates or uses an item. Checks, in order: right hand, left hand, paperdoll, left rings, right rings.

  • use {item}: Uses the specified item.
  • use: Uses the first eligible item.

Examples:

  • use ring
  • use scales
  • use 1 ring from left (1-4, right or left.)

Take

Picks up an item from the ground, environment, or manipulates rings. Requires a free hand for rings.

  • take {item}: Takes the item.
  • take: Takes the first available item.

Can support targeting filters for specific objects.

Examples:

  • take bottle
  • take broadsword (Helps with fumbles; note dead mobs may use same weapons.)
  • take 1 ring off left (1-4, right or left.)
  • take gold from counter

Sack

Picks up a sackable item from the floor and puts it in your sack (if room).

  • sack {item}: Sacks the item.

Examples:

  • sack bottle (Caution: Some bottles are harmful like Napalm, Nitro, Poison, and Urine.)
  • sack gem
  • sack bottle from counter

Drop and Dump

  • drop {item}: Drops the item (opposite of take).
  • drop {item} on counter: Drops on counter.
  • dump {category}: Drops all items in category.
  • dump {category} on counter: Drops category on counter.

Examples:

  • drop ring
  • drop ring on counter
  • dump gems
  • dump gems on counter

Belt

Sheaths a weapon in your belt.

  • belt {weapon}: Sheaths the weapon.

Example:

  • belt broadsword

Wield

Pulls a weapon from your belt.

  • wield {weapon}: Wields the weapon.

Example:

  • wield broadsword

Swap

Switches items between hands (works if both full).

  • swap: Swaps hands.

Example:

  • swap

Push

Moves heavy items along ground, up/down stairs (if strong enough). You move with the item—avoid pushing off cliffs!

  • push {item} {direction}: Pushes item in direction.
  • push {item} {count} {direction}: Pushes specific instance.

Supports targeting filters.

Examples:

  • push corpse north
  • push bottle 2 north

Movement Commands

Stairs

Ascend/descend by moving to hex and using:

  • up (or u): Ascends.
  • down (or d): Descends.

No mixing with horizontal movement. Avoid climb up/down for stairs.

Directions

Move player in directions: w (west), e (east), n (north), s (south), nw, ne, sw, se.

  • Enter multiple for repeated moves: w w w → Moves 3 west.

Climbing

Attempt pits, cliffs, or walls. Success: strength, encumbrance, class (Martial Artists/Thieves advantaged), luck. Needs empty hand(s) (most pits: two). "Down" in pits risks fall—use climb down.

  • climb up: Ascends.
  • climb down: Descends.

Implicitly filters by stats/conditions. For related entity targeting, see Targeting Filters.

(Note: Currently unimplemented.)

Controlling Summons and NPCs

Guide summons (e.g., phantasms) or certain NPCs (e.g., "gus, follow"). Prefix with name/abbrev (e.g., "ph" for phantasm, "dj", "ef", "1-3", "all").

They understand movement, carrying, pushing.

  • {name}, follow: Follows you (or follow {name} for friend).
  • {name}, stop: Ceases actions.
  • {name}, attack {mob}: Attacks (supports filters; abbrev mob names).
  • {name}, trail 1: Follows one hex behind (careful not to lose sight).
  • {name}, begone: Dismisses.
  • {name}, take {item}: Picks up (e.g., coin, gems).
  • {name}, dump {item}: Drops (add "on counter").
  • {name}, {direction}: Moves (e.g., phantasm, w; multiple: all, w w w; also u/d).
  • {name}, push {item} {direction}: Pushes.

Notes: Can't obey if out of hearing; can't climb ropes (yet?).

Examples:

  • ph, follow
  • all, stop
  • all, attack (mob name or abbreviation)
  • all, trail 1
  • all, begone
  • 1, take coin
  • 1, dump coin or 1, dump coin on counter
  • all, w w w → Moves 3 west.
  • 1, push coin w
  • attack @[hostile:near] → Attacks nearest hostile.

Action Commands

Commands for actions like attacking or casting (not always in combat). Most support targeting; implicit defaults apply and do not need to be specified. Flagged players attackable without extras.

  • Fight: Melee. fight @[target]. Implicit default: near:hostile.
  • Jumpkick: Jump. jumpkick @[target]. Implicit default: distant:hostile.
  • Nock: Prepare bow. nock {bow}. Typically used before shoot.
  • Shoot: Projectile (after nock). shoot {bow} @[target]. Implicit default: hostile.
  • Throw: Item. throw {item} @[target]. Implicit default: hostile.
  • Cast: Spell (sometimes non-combat). cast {spell} at @[target]. No implicit default; specify if needed. Use serial for spells like locate: cast locate at @[serial(987654)].
  • Use: Activate item/weapon (e.g., in combat). use {item} (e.g., use bow).

See Targeting Filters.

Targeting Filters

Specify entities for cast, shoot, throw, jumpkick, attack (controlled entities), etc. Use @[filter1:filter2:...]; process in order.

Filter Categories

Alignment

  • hostile: Attackable, including flagged players.
  • friendly: Not hostile to you.

Type

  • pc: Player-controlled.
  • npc: Non-player.
  • conjured: Subordinates (e.g., summons).

Health State

  • injured: Not max health.
  • healthy: Max health.
  • deathly: Near death.

Activity

  • casting: Casting (warmed).

Weapon Type

  • melee: Melee weapon.
  • ranged: Projectile weapon.

Distance

  • near: Dist 0.
  • distant: Dist 1-3.
  • far: Dist 3.
  • distance(value): Specific (0-3).

Effects

  • poisoned: Poisoned.
  • feared: Feared.
  • stunned: Stunned/dazed.
  • blind: Blinded.

Specific Selectors

  • index(value|last): Index or last.
  • serial(value): Serial number.
  • mouseover: Under mouse (client-side).

Examples

  • cast at @[hostile:index(last)]: Last hostile.
  • shoot bow at @[distant:hostile]: Distant hostile.
  • cast at @[friendly:poisoned:pc]: Friendly poisoned PC.
  • cast at @[hostile:far]: Furthest hostile.
  • throw dagger at @[hostile:npc:far:casting]: Far casting NPC.
  • ph, attack at @[mouseover]: If mouseover.
  • cast locate at @[serial(295807)]: Locate specific.

Order matters: [index(last):injured] ≠ [injured:index(last)].

Implicit defaults (do not need specifying):

  • fight: near:hostile.
  • jumpkick: distant:hostile.
  • shoot/throw: hostile.

Abbreviations

Abbreviations for efficiency: Shorten to unique characters (e.g., f for fight). Directions: one/two letters (e.g., n north, se southeast).

NPCs: First one/two letters (e.g., m, deposit for Marlis).

Creatures: Abbrev names (e.g., sk skeleton, wy wyvern).

General and Vendor Commands

Command Description Example
help Show overview of some commands. help
{trainer's name}, train {gold amount} Trains for specified gold. olaf, train 100
{vendor}, show prices Shows vendor prices. rolf, show prices
{vendor}, sell {#} Sells item by number. r, sell 1

Sandbox Specific Commands

Command Description Example
setlevel {x} Sets level. setlevel 20
setskill {x} {y} Sets skill. setskill sword 19
gold {x} Drops gold (defaults 1000?). gold 10000
go {segment} Teleports to segment. go blood
go {x} {y} {z} Teleports to coordinates. go 10 13 5
goname {x} Teleports to entity. goname Overlord
invis Makes invisible. invis
invul Makes invulnerable. invul
respawn Respawns area. respawn

Party Commands

Command Description Example
party create {name} Creates party. party create Valley
party join {partyname} Joins party. party join Valley
party {message} Sends message. party That shifty orc killed me and brutally looted my rotting corpse. Woe is me.
party leave Leaves party. party leave
party disband Disbands party. party disband