PDA

View Full Version : very easy script question



Battlerager
08-05-2013, 09:16 AM
I was creating some picking macro's but on my Lockmaster measure I can't use right to measure what's in my right hand. I want to do a script that will LM measure (box, strongbox, trunk, coffer) without obviously typing these. How do I write an easy script that will automatch to whats in my right hand?

DaCapn
08-05-2013, 10:08 AM
Most of the basic methods and functions are described here:
http://www.krakiipedia.org/wiki/Lich_scripting_reference

Rolton-Sammich
08-05-2013, 10:14 AM
I think what you're looking for is the lich variable Char.righthand

>get para
You remove a pink-canopied white birch parasol from in your pink leather harness.

>;eq put "nod #{Char.righthand}"
[exec1]>nod parasol
You nod to the white birch parasol.

Suhami
08-05-2013, 05:44 PM
There's shorter way for that too: it's just checkright

>get cadd
You get a worm-eaten wooden caddy from inside your spidersilk backpack.
>;e echo checkright
--- Lich: exec1 active.
[exec1: caddy]
--- Lich: exec1 has exited.