On Tue, 11 Jun 1996, Brian Christopher Guilbault wrote: > > can ANYONE tell me wtf is wrong witht this stupid line?? > > please? :) > > sprintf(buf, "%sYou are %s.\r\n", buf, RACE_NAME(ch)); > That will write "You are <race>" to the string "buf". I'm not exactly > sure why you have buf written twice, I don't think that will work. Well, doing it like the above should work fine, and it's probably used in conjunction with making up a whole 'screen' of information in buf, before sending it anywhere.. Anyway, if the idea is to only write "You are a limbo Dwarf" and nothing else to a character, the "%s......", buf, ... could be deleted as you state.. Well, hope I didnt sound too messy :) Regards, Con. d. -- Rasmus Rønlev DOEK'94 WWW: http://www.econ.cbs.dk/people/raro94ab Student instructor MUD: exiled.mud.circlemud.org 5000 199.199.16.100 5000 Student, B.Sc in Computer Science and Business Administration.
This archive was generated by hypermail 2b30 : 12/18/00 PST