24 lines
418 B
Plaintext
24 lines
418 B
Plaintext
|
#include "qdb_include"
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
|
||
|
SetResponseNumber(1);
|
||
|
SetResponse("What do you need? ");
|
||
|
SetResponseNumber(2);
|
||
|
SetResponse("I'm busy right now.");
|
||
|
|
||
|
SetCustomToken(100,GetLineInfo());
|
||
|
|
||
|
int iIndex=1;
|
||
|
while (iIndex<=5)
|
||
|
{
|
||
|
SetResponseNumber(iIndex);
|
||
|
string sResponse=GetResponse();
|
||
|
if (sResponse=="")
|
||
|
sResponse="(No Response)";
|
||
|
SetCustomToken(100+iIndex,sResponse);
|
||
|
iIndex++;
|
||
|
}
|
||
|
}
|