Page 1 of 1

Hotkey .... (easy, i have a question)

Posted: 2004-10-27 16:59:21
by Uno
I need make a Hotkey...

And this hotkey neep has a macro

Bandageself Wait and arm "weapon"


I try:

Bandageself ; Arm "weapon" and don't run.... The target of bandage don't run...

i wanna kwno.


Other:

Bandagesel ; wait (2000) ; arm.


please, help-me

Re: Hotkey .... (easy, i have a question)

Posted: 2004-10-27 17:12:17
by Edred
Uno wrote:I need make a Hotkey...

And this hotkey neep has a macro

Bandageself Wait and arm "weapon"


I try:

Bandageself ; Arm "weapon" and don't run.... The target of bandage don't run...

i wanna kwno.


Other:

Bandagesel ; wait (2000) ; arm.


please, help-me


1 You can't use 'wait' in hotkeys!

2. Try it:

Code: Select all

bandageslf; arm weapon


OR write simple script:

Code: Select all

sub Bandag() 
   UO.SetArm('MyWeapon')
   UO.Exec('bandageself')
   wait(300)
   UO.Arm('MyWeapon')
endsub


and record to hotkeys:

Code: Select all

,exec bandag

Re: Hotkey .... (easy, i have a question)

Posted: 2004-10-27 17:22:02
by AGRS
Edred wrote:1 You can't use 'wait' in hotkeys!


And other script.dll functions like UO.Print, UO.Exec, UO.Count, UO.Say, UO.Press, UO.L(R)Click, UOL(R)DClick, UODrag, ... you can't use 2. :lol:

;)

Re: Hotkey .... (easy, i have a question)

Posted: 2004-10-27 18:12:51
by Edred
AGRS wrote:And other script.dll functions like Print, Exec, Count, Say, Press, L(R)Click, L(R)DClick, Drag, ... you can't use 2. :lol:

;)


Exclude 'exec'. :)

Re: Hotkey .... (easy, i have a question)

Posted: 2004-10-27 18:16:09
by AGRS
Edred wrote:
AGRS wrote:And other script.dll functions like Print, Exec, Count, Say, Press, L(R)Click, L(R)DClick, Drag, ... you can't use 2. :lol:

;)


Exclude 'exec'. :)


Fixed.

Posted: 2004-10-27 19:22:28
by Uno
Ok, This script is good...

I was using a Healer Script for pvp... You script don't go upset my Healer macro?


and go run then i wirte ,exec bandag ?

Posted: 2004-10-29 18:53:52
by evil_Gremlin
I use

Code: Select all

sub bnd()
UO.bandageself()
repeat
wait(50)
until UO.Waiting()==0
UO.Arm('weapon')       #(actually i use usetype, but it doesn't matter')
end sub

it is the fastest way

Posted: 2004-10-29 19:05:58
by Uno
i wanna use this macro in Player vs player...

then,

I write this macro

later, in hotkeys i write "*exec bnd"?

ps: * = my prefix

Posted: 2004-10-30 05:06:41
by evil_Gremlin
commands that you bind on a hotkey must come without prefix