After sitting down a dialog appears:
"Please choose your dance below..." [Randomize] [Dance01]
What to do?
File c:\…\PikkuBot\config\ANSWERS.txt:
Using the dialogue-function is a very easy way to do this:
Just activate the dialogue modus with command dia.
Disable the instant-answer with answer-
And enable saving of your answers with remember 1
The dialogue modus looks like the one from your standard-viewer:
Just press the corresponding answer button:,
and bot answers with:
> OK: Answering the dialog with Randomize on channel -58541 to objectid 4c3ff1e8-d5a8-3f97-4090-d1f96c740b0e > **REC: Ok, i have recorded this Question & Answer to ANSWERS.txt** > OK: Trying to reload ANSWERS.txt, DYNAMIC.txt, MACROS.txt, ROBOT.txt, \\ > SUPPORT.txt, RANDOM.txt, TELEPORTS.txt, AUTOSTART.txt, DANCES.txt & DONTSHOOT.txt
So, the answer is saved, and the bot has reloaded its answer-list. Test with upndown :
> [12:45:11] INFO: Your bot IS sitting now! > > [12:45:12] INFO: Found pre-defined Question/Answer "035d2b5790edf21370230048bffd1eea", "Randomize" is in the answer-list *g* > **[12:45:13] INFO: Answering the dialog with => Randomize**
Just note that if you already edited the ANSWERS.txt by hand,
the cursor must be placed in a new line, so edit it again, move to last line, and press ENTER once.
make a line in the file **ANSWERS.txt** with the following content: (seperate with a TAB !) 1. column A text which indetifies the question: "Please choose" (without "") or "your dance below..." (also without "") TAB 2. column the Text of the answer, in this case "Randomize" (again without "")
File c:\…\PikkuBot\config\ANSWERS.txt:
# # ANSWERS.txt Example-File # # # Marki Young's Sunbathing Towel v1.02 test # # 1. The sentence to look for is "Click right anti Bot button" # 2. We start to count at the Substring "button " # 3. We count 4 columns after the beginning of "button" # 1234567 # ^ # here is the Answer! # 4. We have a one char answer # # Click right anti Bot button button 7 1 # # Marki Young's Camping Cart # # 1. The sentence to look for is "otherweise you be auto kicked after" # 2. We start to count at the Substring "Button " # 3. We count 4 columns after the beginning of "Button" # 1234567 # ^ # here is the Answer! # 4. We have a one char answer # # otherweise you be auto kicked after Button 7 1 # # Some Camping towels # # 1. The sentence to look for is "As a protection against camping" # 2. We start to count at the Substring "following" # 3. We count 18 columns after the beginning of "following word..." # 123456789012345678 # ^ # here begins the Answer! # 4. We have a multi char answer # # As a protection against camping following word... 18