mihir7293/ZoneAgent — pull request #43 by prologos (2014-08-04 07:42:34+00:00)
Title: Add Virtual helper

It may if there is a place where it was missing code to work on the Web.
Please let me know if there is a problem.

You can get answers when the user whisper to a virtual assistant.
You can specify the file faq.ini questions and answers.
It allows you to reload the faq.ini even when ZA is running.

- Set state faq.ini
[ONLINEFAQ]
ANSWERER=VGM
QNACOUNT=3

#Newline character is |
Q0=HELP
A0=Command list:|HELP|GMLIST|EVENT

Q1=GMLIST
A1=GM_inferno, GM_mihir, GM_prologos

Q2=EVENT
A2=There are no events currently in progress

- Whisper of users in the game
/VGM HELP
- answer
Command list:
HELP
GMLIST
EVENT

- Whisper of users in the game
/VGM GMLIST
- answer
GM_inferno, GM_mihir, GM_prologos

- Whisper of users in the game
/VGM TEST
- answer
Invalid command. The command is case sensitive.