PlaneShift

Gameplay => Wish list => Granted or negated Wishes => Topic started by: novacadian on August 15, 2011, 09:03:40 am

Title: Shortcut wildcards
Post by: novacadian on August 15, 2011, 09: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
Title: Re: Shortcut wildcards
Post by: weltall on August 15, 2011, 10:42:48 am
it's already there
Title: Re: Shortcut wildcards
Post by: LigH on August 15, 2011, 01:22:05 pm
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.
Title: Re: Shortcut wildcards
Post by: novacadian on August 15, 2011, 03:41:05 pm

That's great! Thanks for the clarification.

- Nova
Title: Re: Shortcut wildcards
Post by: bilbous on August 15, 2011, 04:14:27 pm
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.