Initial commit
Initial commit. Updated release archive.
This commit is contained in:
25
_module/nss/qdb_qline2.nss
Normal file
25
_module/nss/qdb_qline2.nss
Normal file
@@ -0,0 +1,25 @@
|
||||
#include "qdb_include"
|
||||
|
||||
void main()
|
||||
{
|
||||
|
||||
SetLine("Have you dealt with the [camp]?");
|
||||
SetResponseNumber(1);
|
||||
SetResponse("Yes.");
|
||||
SetResponseInt("Check",1);
|
||||
SetResponseNumber(2);
|
||||
SetResponse("Not yet.");
|
||||
|
||||
SetCustomToken(100,GetLineInfo());
|
||||
|
||||
int iIndex=1;
|
||||
while (iIndex<=5)
|
||||
{
|
||||
SetResponseNumber(iIndex);
|
||||
string sResponse=GetResponse();
|
||||
if (sResponse=="")
|
||||
sResponse="(No Response)";
|
||||
SetCustomToken(100+iIndex,sResponse);
|
||||
iIndex++;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user