trying to build a function for elegant "evaluating"

Mac Daddy <[email protected]> Thu, 11 Jun 2009 06:56:38 +0200
Newsgroups gmane.comp.games.mud.client.lyntin
Message-ID <[email protected]>
The problem I am trying to solve is elegantly creating a (kill) list, 
upon entering a room, and then removing the name(s) when I leave the room.

certainly, simple KoS triggers would function the same - but they aren't 
as nice.

For example, I enter the room, my list is populated with "Some Bloak." 
An attack function then attacks 0 in my list. When I am done looting, it 
removes it from the list.

I think I can figure out the list parts...

Just trying to figure out where to look in the client for examples of 
populating the list - or evaluating mud data + adding the bloaks to my 
list. I have looked up and down the action.py and highlight.py modules 
for hints, but I have not been able to figure it out. I am guessing it 
is related to the "def mudFilters," therein.  Or, those seem like 
possible examples to build from.

I got lost reading through the Argparser.

Oh, I am basically just trying to build a module.

I slept about an hour and a half last night -- but the sun is coming up, 
and the coffee is flowing =)

I will keep trying to figure it out...

Any tips would be greatly appreciated.

Thanks



------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects