Author Topic: Shortcut wildcards  (Read 390 times)

novacadian

  • Hydlaa Notable
  • *
  • Posts: 960
    • View Profile
Shortcut wildcards
« on: August 15, 2011, 02:03:40 am »
It would be nice if wild cards would be excepted and processed by shortcuts commands. If any item was highlighted then information would be replaced by it when the shortcut was called.

eg

Shortcut: /me waves at the %race%

Highlighted: a Ylian

Output: Venorel waves at the Ylian

----------------------------------

Shortcut: /me waves at %name%

Highlighted: Lilura

Output: Venorel waves at Lilura

----------------------------------

This would save a lot of typing and shortcuts slots. For someone like myself who is lagged a lot of the time it would save a lot of typos and frustration as well.

- Nova

weltall

  • Associate Developer
  • Veteran
  • *
  • Posts: 1671
    • View Profile
    • http://weltall.heliohost.org
Re: Shortcut wildcards
« Reply #1 on: August 15, 2011, 03:42:48 am »
it's already there

LigH

  • Forum Legend
  • *
  • Posts: 7096
    • View Profile
Re: Shortcut wildcards
« Reply #2 on: August 15, 2011, 06:22:05 am »
Just not so well documented, maybe ... I remember "$target" as implementation for the suggested "%name%"; but that doesn't look so well if you missed a target. NPCs are able to mention races, but I don't know if the substitution parameter is known outside the developer ivory tower.

Gag Harmond
Knight and Ambassador
The Royal House of Purrty

novacadian

  • Hydlaa Notable
  • *
  • Posts: 960
    • View Profile
Re: Shortcut wildcards
« Reply #3 on: August 15, 2011, 08:41:05 am »

That's great! Thanks for the clarification.

- Nova

bilbous

  • Guest
Re: Shortcut wildcards
« Reply #4 on: August 15, 2011, 09:14:27 am »
You are all soft. Wildcards ought to be in the form of $r, $n, $g etc for race, name and gender. Too much typing is counter-productive. of course you could have substitution lists for completion so $g1 could be wench, pal or chip $g2 could be woman, guy or bud depending and $gr would give a random appropriate term from the list. These lists could be client side and editable by the player.