Page 1 of 1

Pause in hotkeys

Posted: 2004-08-20 19:54:15
by b0mber
Is there any command to make a pause between 2 comands in the hotkey menu?

I have a non Spell chaneling Kryss with fc +1 and y want to cast a spell and then put the Kryss again. I tyied this: cast 'Explosion' lasttarget ; equipt Rhand 0x1401 , but i put on the kryss so fastly and the spell flizzes :(

Posted: 2004-08-20 20:15:52
by Dmitrij

Code: Select all

UO.Cast("Explosion","lasttarget");
Wait(1000); 1000 - time in miliseconds...
UO.Equipt("Rhand","0x1401");


Try this...

Re: Pause in hotkeys

Posted: 2004-08-20 21:10:29
by Yoko
b0mber wrote:Is there any command to make a pause between 2 comands in the hotkey menu?

I have a non Spell chaneling Kryss with fc +1 and y want to cast a spell and then put the Kryss again. I tyied this: cast 'Explosion' lasttarget ; equipt Rhand 0x1401 , but i put on the kryss so fastly and the spell flizzes :(


hotkeys:
exec mysub

script:
sub mysub()
...
wait(1000)
...
end sub

Re: Pause in hotkeys

Posted: 2004-08-20 22:11:43
by b0mber
Yoko wrote:
b0mber wrote:Is there any command to make a pause between 2 comands in the hotkey menu?

I have a non Spell chaneling Kryss with fc +1 and y want to cast a spell and then put the Kryss again. I tyied this: cast 'Explosion' lasttarget ; equipt Rhand 0x1401 , but i put on the kryss so fastly and the spell flizzes :(


hotkeys:
exec mysub

script:
sub mysub()
...
wait(1000)
...
end sub



Thx to both, i didnt know hot to make a simle scrip like this but now i learn. Is there a comand than can read when i type "CONTROL + Z"?

Posted: 2004-08-20 22:41:48
by Dmitrij
UO Macro Options: "Ctrl + Z" -> Say: ",exec mysub"

Posted: 2004-08-21 22:24:25
by Yoko
injection Hotkeys tab ->
Command: exec mysub
Hotkey: Ctrl + Z