Just go look at the code for your current dot targetting system. Just copy that, but take out the check for the name of the object/mob/pc. Think that'd do it. This is just from the top o' me head, so who knows if it'll actually work :>
Cameron ----- Original Message ----- From: "Rob Casko" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Saturday, December 15, 2001 5:29 PM Subject: "DOT" targetting. > Alright. I am away from my code right now, so I will do my best at > describing what kind of help I need. > > I've been thinking of adding this in for a long time now, but it was far > down my list and fleshing out the code for skills for all my classes has > kept me buisy. > > Now that I have more time, I would love to add this DOT targetting into my > mud. > > Soo....you could "get 1." to get the first thing off the ground...instead of > needing the name. > > Or..."look 3." to look at the third person in the room.... or "Murder 5." to > kill the fifth thing in the room. > > As it is, there is a SEMI "dot" targeting for commands when there are > numberous similar items ...like "Get 4.sword" or "kill 8.kobold" > > What I would like...is just a DOT targetting...that would scan through items > or players in the room(depending on the command) without actually having > anything after the DOT. > > any hints on how to go about that would be appreciated. > > _________________________________________________________________ > Join the world's largest e-mail service with MSN Hotmail. > http://www.hotmail.com > > > -- > ROM mailing list > [email protected] > http://www.rom.org/cgi-bin/mailman/listinfo/rom

