PlaneShift

Gameplay => Wish list => Topic started by: 0die on December 20, 2006, 07:30:46 am

Title: short cut usable variables?
Post by: 0die on December 20, 2006, 07:30:46 am
i'd like to know/get a list of variables that can be use in shortcuts.

right now the only one i know is:

$target  = returns the name of your target.

an example of how this could be used in shortcuts are:

shortcut 1

/cast life infusion
/say $target, I'm healing you, don't run off yet.


shortcut 2

/cast weakness
/say I cast weakness on $target, hit it, hit it hard, NOW.


I'd like to be able to use other variables. maybe some like

$gender
$race


this would allow players to customize stuff and make some generalized roll-playing a little more specific.

this would also allow guilds to communicate a little better during multiple player fights. maybe more benificial if/when raid encounter are implemented.



Title: Re: short cut usable variables?
Post by: Gondric on December 21, 2006, 10:37:29 am
i like it but i think that u can have multiple commands in a shortcut line so u can make urself say these things when u do these actions. is that what ur getting at?
Title: Re: short cut usable variables?
Post by: Quantus on December 21, 2006, 10:49:00 am
i like it but i think that u can have multiple commands in a shortcut line so u can make urself say these things when u do these actions. is that what ur getting at?

I think what Odie was thinking about to build Shortcuts like:

if ($gender = "F") {
  /say Hello nice $race, the day is brighter now for me
}
else {
  /say Greetings $race, the days seems to be dark for your enemies
}

I would like it too :)
Title: Re: short cut usable variables?
Post by: emeraldfool on December 22, 2006, 12:05:24 am
Yeah, booleans would be really cool...
Title: Re: short cut usable variables?
Post by: Gondric on December 22, 2006, 01:44:37 am
oh now i get ya. depending on who the spell is casted on ya gotcha.
Title: Re: short cut usable variables?
Post by: Nyramael on December 22, 2006, 07:08:08 am
I use a two line shortcut whenever i approach someone i'm only vaguely familiar with:
/target next nearest player
/targetinfo
At a glance i can see race and gender (very useful when dealing with klyros) and any important things worthy of note in their description. I only do this as a temporary  fix until we do get access to the $race and $gender commands that the npcs do.

I'd like more complex scripting too but the devs probably won't implement that to stop people boting and things like that.