any way to find monster/summon according his name?

Requests of new features and reports on bugs needs to be fixed

Moderators: Murderator+, Murderator

Post Reply
hobbit
Posts: 4
Joined: 2004-04-22 13:48:27
Contact:

any way to find monster/summon according his name?

Post 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.
Hobbit the Ranger
Trillian the Vampire
... on czech shard Darkparadise
Yoko
Site Admin
Posts: 1964
Joined: 2004-04-03 16:49:38
Contact:

Post by Yoko »

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