Page 1 of 1

Using UO binds in scripts

Posted: 2005-01-25 05:40:35
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

Posted: 2005-01-25 16:34:21
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

Posted: 2005-01-25 17:20:43
by ozcaN
Thank you! and dont worry ur english is good

Posted: 2005-01-25 21:55:05
by ziemni
UO.ServerPrint("spam msg")

Posted: 2005-01-26 01:13:52
by nagger
why not just use injection macros to run the script

exec healSself()