Yoko
http://forum.yoko.com.ua/

any way to find monster/summon according his name?
http://forum.yoko.com.ua/viewtopic.php?f=4&t=297
Page 1 of 1

Author:  hobbit [ 2004-05-09 19:30:42 ]
Post subject:  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 summon named "A", then say 'A kill' and attack last target, else print message that this summon doesnt exist.
us shard is on sphere 0.51a and summons have to be commanded by it's name.

thanx and sorry for my english, it`s really bad.

Author:  Yoko [ 2004-05-09 22:53:58 ]
Post subject: 

findtype xxx -1 ground
click finditem
wait yyy
if uo.getname("finditem") == "zzz" then
...

Page 1 of 1 All times are UTC+02:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/