38 lines
709 B
Plaintext
38 lines
709 B
Plaintext
#include "qdb_include"
|
|
|
|
void main()
|
|
{
|
|
string sLine;
|
|
string sResponse;
|
|
string sToken;
|
|
int iDone;
|
|
int iNPC;
|
|
int iIndex;
|
|
int iStep;
|
|
int iLine;
|
|
|
|
SetLineNumber(100);
|
|
sLine=GetLine();
|
|
iStep=GetStepNumber();
|
|
iLine=GetLineNumber();
|
|
iDone=GetLineInt("Done");
|
|
iNPC=GetLineInt("NPC");
|
|
|
|
sToken=sLine + "\n\n";
|
|
sToken=sToken + "Step=" + IntToString(iStep) + " | Line=" + IntToString(iLine) + "\n";
|
|
sToken=sToken + "Done=" + IntToString(iDone) + " | NPC=" + IntToString(iNPC);
|
|
|
|
SetCustomToken(100,sToken);
|
|
|
|
iIndex=1;
|
|
while (iIndex<=5)
|
|
{
|
|
SetResponseNumber(iIndex);
|
|
sResponse=GetResponse();
|
|
if (sResponse=="")
|
|
sResponse="(No Response)";
|
|
SetCustomToken(100+iIndex,sResponse);
|
|
iIndex++;
|
|
}
|
|
}
|