Page 1 of 1

any way to find monster/summon according his name?

Posted: 2004-05-09 19:30:42
by hobbit
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.

Posted: 2004-05-09 22:53:58
by Yoko
findtype xxx -1 ground
click finditem
wait yyy
if uo.getname("finditem") == "zzz" then
...