Page 1 of 1
Help with hotkey
Posted: 2004-07-22 06:05:49
by paulinho4life
i tryed to make a hotkey to cast clumsy in bottles of explosion, but every time i have to put the serial of the specific bottle, (cast 'Clumsy' serial), when i put the ID, a message is printed on my screen "invalid serial index"...
Yoko, help me.
Posted: 2004-07-22 07:25:38
by Drakull
I was having the same error when casting spells and it's not because of the target, but because of the way you're typing the spell name (don't use the quotes). You can try first by using ,cast Clumsy
If that works, them you can just use the spell that way: uo.exec ('cast Clumsy mybottletarget')
If not, try reducing the name (for example for casting Greater Heal i was having to use 'cast Great self' and for casting magic reflection is 'cast Magic R'. BTW... the shard I'm on is running RunUO.
Posted: 2004-07-22 10:02:29
by Yoko
cast 'Clumsy' serial
is equivalent to
waittargetobject serial;cast Clumsy
you may try it.
also use ,info serial first to check that item in game.