Yoko

All sides of Injection
It is currently 2025-12-10 06:23:45

All times are UTC+02:00




Post new topic  Reply to topic  [ 1 post ] 
Author Message
 Post subject: вот так
PostPosted: 2007-03-01 17:13:50 
Offline

Joined: 2007-02-13 07:31:08
Posts: 3
sub laiter()
var hp
var mhp
var tmp
mytarg()
uo.warmode(1)
uo.attack('myTarget')
repeat
wait(1000)
hp=uo.GetHP('myTarget')
mhp=uo.GetMaxHP('myTarget')
tmp = hp / mhp * 100
uo.print('HP: ' + str(hp) + ' / MHP: ' + str(mhp) +' = ' +str(tmp))
If tmp < 15 then
UO.usetype(0x1F4A)
uo.waittargetobject('myTarget')
wait(1000)
repeat
uo.warmode(1)
uo.attack('myTarget')
end if
until uo.InJournal("STOP")
end sub
sub mytarg()
var i
uo.set("injectecho","1");
uo.deletejournal()
uo.AddObject("myTarget")
i=0
repeat
wait(100)
i=i+1
until uo.inJournal('Object updated: myTarget') or i>100
if i>100 then
uo.print("Please select target")
goto pex
end if
uo.print("There is "+uo.GetName("myTarget"))
uo.deletejournal()
pex:
end sub


виснет каждыйц раз как кинет лайт может можно попроще сделать?


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 1 post ] 

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Limited