Here's a quick fix for the alias variable. Due to the way the
GET_NAME macro works it will return the short description for
mobiles. Not good for mkill %actor.alias% if actor is a mob! All
you'll probably see will be,
SCRIPT ERR: Mob (a tabby cat, VNum 1014): mkill: victim (a) not found
as in this case the first thing in the mobs short description is an
'a' :(
change in dg_scripts.c this bit after the "name" field ..
else if (!str_cmp(field, "alias"))
strcpy(str, (c)->player.name);
now aliases will be returned for mobs and players and you can get ya
mobiles scrappin like cats and dogs !!
Andy
+------------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
| http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
+------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/15/00 PST