I think that the simplest way of doing this is closer to #2. Test to see if the last character in the string is an s. If it is return ' otherwise return 's. Then just use is like this "You whack %s%s head!", GET_NAME(vict), PLURAL(GET_NAME(vict)) Similar usage within act for the replacement of $x/$X and Bob's your mothers brother! -JOn. -- +---------------------------------------------------------------+ | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html | | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html | +---------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/06/01 PST