Initial commit
Initial commit. Updated release archive.
This commit is contained in:
24
_module/nss/qdb_qresp7.nss
Normal file
24
_module/nss/qdb_qresp7.nss
Normal file
@@ -0,0 +1,24 @@
|
||||
#include "qdb_include"
|
||||
|
||||
void main()
|
||||
{
|
||||
|
||||
SetResponseNumber(1);
|
||||
SetResponse("Yes.");
|
||||
SetResponseNumber(2);
|
||||
SetResponse("No.");
|
||||
SetResponseString("Script","en6_quitquest");
|
||||
|
||||
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