Author Topic: short cut usable variables?  (Read 775 times)

0die

  • Wayfarer
  • *
  • Posts: 2
    • View Profile
short cut usable variables?
« on: December 20, 2006, 01: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.



« Last Edit: December 20, 2006, 01:33:25 am by 0die »

Gondric

  • Hydlaa Citizen
  • *
  • Posts: 313
    • View Profile
Re: short cut usable variables?
« Reply #1 on: December 21, 2006, 04: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?

Quantus

  • Hydlaa Resident
  • *
  • Posts: 92
  • Member of the Crystal Squadron
    • View Profile
    • PlaneShift Yliakum
Re: short cut usable variables?
« Reply #2 on: December 21, 2006, 04: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 :)


Gondric

  • Hydlaa Citizen
  • *
  • Posts: 313
    • View Profile
Re: short cut usable variables?
« Reply #4 on: December 21, 2006, 07:44:37 pm »
oh now i get ya. depending on who the spell is casted on ya gotcha.

Nyramael

  • Hydlaa Resident
  • *
  • Posts: 103
    • View Profile
Re: short cut usable variables?
« Reply #5 on: December 22, 2006, 01: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.