Pause in hotkeys

Ask for help

Moderators: Murderator+, Murderator

Post Reply
b0mber
Posts: 4
Joined: 2004-08-20 19:47:10

Pause in hotkeys

Post 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 :(
Dmitrij
Posts: 14
Joined: 2004-08-13 00:00:02

Post by Dmitrij »

Code: Select all

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


Try this...
Yoko
Site Admin
Posts: 1964
Joined: 2004-04-03 16:49:38
Contact:

Re: Pause in hotkeys

Post 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
b0mber
Posts: 4
Joined: 2004-08-20 19:47:10

Re: Pause in hotkeys

Post 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"?
Dmitrij
Posts: 14
Joined: 2004-08-13 00:00:02

Post by Dmitrij »

UO Macro Options: "Ctrl + Z" -> Say: ",exec mysub"
Yoko
Site Admin
Posts: 1964
Joined: 2004-04-03 16:49:38
Contact:

Post by Yoko »

injection Hotkeys tab ->
Command: exec mysub
Hotkey: Ctrl + Z
Post Reply