Using UO binds in scripts

Ask for help

Moderators: Murderator+, Murderator

Post Reply
ozcaN
Posts: 34
Joined: 2004-06-18 17:21:40

Using UO binds in scripts

Post by ozcaN »

I was wondering how i can use UO macros that i make through the options in my script that im wokring on. My script is gona have all my pvp macros like fs and stuff but the bind for the spam is in uo. The reason i am not using UO.Say is because its to slow. Here is an example of what i wana do.

Code: Select all

sub healSself()
   
         UO.waittargetself()
         UO.Exec("usetype 0x1f49")
         "PUSH BUTTON NOW!"
end sub
vano_melkiy
Posts: 4
Joined: 2005-01-25 16:25:43

Post by vano_melkiy »

# UO.Press(KeyCode[,Count[,Delay]]) - Simulate keypress.
# KeyCode - Virtual key code.
# Count - Optional. Number of keypresses.
# Delay - Time in msec to wait between keypresses.
KeyCode you may get in Edit Script window

p.s. sorry for my english
ozcaN
Posts: 34
Joined: 2004-06-18 17:21:40

Post by ozcaN »

Thank you! and dont worry ur english is good
ziemni
Posts: 22
Joined: 2004-09-07 22:36:09
Location: Poland

Post by ziemni »

UO.ServerPrint("spam msg")
nagger
Posts: 16
Joined: 2004-05-10 07:35:04

Post by nagger »

why not just use injection macros to run the script

exec healSself()
Post Reply