In file output.h:

char* sprompt_other

(struct shmuserrec* ushm, char* buf, int num,
...)

Format a prompt for another user and store it in a string.

Documentation

Format a prompt for another user and store it in a string.

This function behaves just like like sprompt(), but takes into account the other user's (othruser) setup. If the other user is a bot, the string will be in a suitable format. It will also be in the other user's language. Other than that, semantics are identical to those of sprint().

Parameters:
ushm - The struct shmuserrec structure for the other user. This will almost always be othrshm).
buf - The buffer to hold the resultant prompt string.
num - The prompt number to use, followed by any arguments needed by the prompt in question.
Returns:
A pointer to the resultant buf.
See Also:
prompt(), sprompt(), printf(), print(), sprint(), sprint_other().

Alphabetic index



This page was generated with the help of DOC++.