page_string is used to send a long string to the q. You need to concatenate (add) the strings together in whatever function you are using and then after you have all of the strings together into one big one, then send it to page_string. In that function you'll need to change the sprintf(buf, "blah") to sprintf(buf + strlen(buf), "blah") and take out the send_to_char in the loop. Also, initialize the string to a null at the beginning of the function. Rick -----Original Message----- From: Tonster <ano6702@CCP.COM> To: CIRCLE@post.queensu.ca <CIRCLE@post.queensu.ca> Date: Tuesday, October 27, 1998 11:12 PM Subject: help page_string >Is there a way to page_string commands mostly vwear? >I have tryed to put page_string(ch->desc, buf, 1); after last object and at >the end of >the command with no luck. It seems that everyting in my code that is page >stringed >is files not commands, am i just sol? +------------------------------------------------------------+ | 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