that works for me, what are you expecting it to return? Do you just have that one line or are you actually trying to do something with the npc variable after it is assigned and it is not working?
Code:
>;e npc = GameObj.npcs.find { |x| x.name == "lesser mummy" };fput("wave #{npc.name}")
--- Lich: exec1 active.
[exec1]>wave lesser mummy
You wave to the mummy.
>
--- Lich: exec1 has exited.
you might find more reliable help posting in the LICH folder btw You can always ask in game as well on the CODE channel. People are generally pretty helpful for coding noobs
Mithrilschlong, 2015-03-10 to slightly later on 2015-03-10. You will not be forgotten!
usable Meteor Swarm, late 2020-12-30 to early 2020-12-31. You will also not be forgotten!