how do i but hotkey on script?

General Injection issues

Moderators: Murderator+, Murderator

Post Reply
davi
Posts: 7
Joined: 2005-01-11 09:29:06

how do i but hotkey on script?

Post by davi »

im new on this injection i got this problem i maked loot macro ok its working but how i but hotkey on it ??

now i need bush RUN FUNCTION button every time i want it runs whys that ??
can i make some how hotkey on it so when i push F4 it runs ???

thx =)
davi
Posts: 7
Joined: 2005-01-11 09:29:06

Post by davi »

this is my script what i need do to make it work when i push F4




sub Loot()
var i,n
Dim A[17]
A[1] = 0x1ECE ;ball1
A[2] = 0x1ECF ;ball2
A[3] = 0x1ED0 ;ball3
A[4] = 0x1ED1 ;ball4
A[5] = 0x1ED2 ;ball5
A[6] = 0x1ECD ;ball6
A[7] = 0x2251 ;uhs
A[8] = 0x2258 ;wedding
A[8] = 0x2683 ;hood1
A[9] = 0x2684 ;hood2
A[10] = 0xE26 ;neondye
A[11] = 0xEFE ;neondye2
A[12] = 0xE28 ;bong
A[13] = 0x1549 ;tripal1
A[14] = 0x154A ;tripal2
A[15] = 0x170D ;sandals
A[16] = 0x14EF ;deed1
A[17] = 0x14F0 ;deed2

i = 1200
FOR n=1 TO 17
uo.findtype(A[n],"-1","lastcorpse")
if uo.findcount() > 0 then
UO.grab(1, "finditem")
uo.print("Found "+str(uo.findcount()))
Wait(i)
END if
next
end sub
KalVasFlam
Posts: 30
Joined: 2004-11-30 13:53:59

Post by KalVasFlam »

Just go to Hotkeys tab;

in the command field type: exec Loot

then click on the hotkey field and HIT F4

then click 'Add new hotkey'
davi
Posts: 7
Joined: 2005-01-11 09:29:06

Post by davi »

hohohoho THX!!!

i feel so dum =)

thx alots
Post Reply