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

General Injection issues

Moderators: Murderator+, Murderator

Post Reply
Uno
Posts: 9
Joined: 2004-10-21 18:57:18

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

Post 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
Edred
Expert!
Posts: 2544
Joined: 2004-04-03 17:36:29
Location: Saint-Petersburg

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

Post 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
AGRS
Expert!
Posts: 1007
Joined: 2004-04-04 21:40:09
Contact:

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

Post 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:

;)
Last edited by AGRS on 2004-10-27 18:15:45, edited 1 time in total.
Edred
Expert!
Posts: 2544
Joined: 2004-04-03 17:36:29
Location: Saint-Petersburg

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

Post 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'. :)
AGRS
Expert!
Posts: 1007
Joined: 2004-04-04 21:40:09
Contact:

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

Post 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.
Uno
Posts: 9
Joined: 2004-10-21 18:57:18

Post 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 ?
evil_Gremlin
Posts: 54
Joined: 2004-05-11 12:27:22
Contact:

Post 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
Каждый манчкин в старости мечтает иметь кресло-качалку ;)
Uno
Posts: 9
Joined: 2004-10-21 18:57:18

Post 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
evil_Gremlin
Posts: 54
Joined: 2004-05-11 12:27:22
Contact:

Post by evil_Gremlin »

commands that you bind on a hotkey must come without prefix
Каждый манчкин в старости мечтает иметь кресло-качалку ;)
Post Reply