Search found 4 matches

by hobbit
2008-05-05 19:29:48
Forum: Help
Topic: Delayed targeting
Replies: 3
Views: 1292

Thanks a lot, I know syntax, but here is server-side timer between using item and selecting target. So, if target is selected faster than 3000ms after using item, action isn`t succesful.

=>
uo.waittarget*(<something>)
uo.usetype(<something>)

is not succesful, because target is selected ...
by hobbit
2008-04-20 09:45:22
Forum: Help
Topic: Delayed targeting
Replies: 3
Views: 1292

Delayed targeting

Good morning,
i`m looking how to create this:

uo.usetype('xxxx')
wait(3000)
?select target?

i need to use item, then wait 3000ms an then select target (there is timer between using item and selecting target)

any idea?
by hobbit
2005-04-10 10:07:09
Forum: Help
Topic: problem with writeln()
Replies: 0
Views: 775

problem with writeln()

sub coord&#40;&#41;
var MX=uo&#46;getx&#40;&#41;
var MY=uo&#46;gety&#40;&#41;
var MZ=uo&#46;getz&#40;&#41;
var ft = file&#40;"c&#58;\progra~1\uoam\mapy&#46;txt"&#41;
ft&#46;open&#40;&#41;
ft&#46;writeln&#40;str&#40;MX&#41;+","+str&#40;MY&#41;+","+str&#40;MZ&#41;&#41;
ft&#46;close&#40;&#41;
end sub ...
by hobbit
2004-05-09 19:30:42
Forum: Requests
Topic: any way to find monster/summon according his name?
Replies: 1
Views: 2863

any way to find monster/summon according his name?

something like:

------ CUT -----
if uo.findsummon(name, 'ground') # this command (i think) doesn`t exist
uo.say(name' kill')
uo.waittargetlast
else
uo.print('summon 'name' doesnt exist')
endif
------ CUT --------
where 'name' is predefined variable, etc. "A"

used for this:
if exist ...