EN6_PRC8/_module/nss/qdb_qline4.nss

26 lines
508 B
Plaintext
Raw Permalink Normal View History

#include "qdb_include"
void main()
{
SetLine("Did you find anything?");
SetResponseNumber(1);
SetResponse("Yes, I found a [item].");
SetResponseInt("Check",2);
SetResponseNumber(2);
SetResponse("No, but I can go back and search for clues.");
SetCustomToken(100,GetLineInfo());
int iIndex=1;
while (iIndex<=5)
{
SetResponseNumber(iIndex);
string sResponse=GetResponse();
if (sResponse=="")
sResponse="(No Response)";
SetCustomToken(100+iIndex,sResponse);
iIndex++;
}
}