Hiya
i've been messing with this for a few days now on and off and im not getting very far.
i want to be able to have multiple questions answered.. so for example when someone askes when is wipe.. answer is given from autoresponse section
so the next is someone asks when is event.. so i would assumed given by what other questions asked here this requires another autoresponse section.. and this is where im getting a problem
{
"Chat Prefix": "<color=#787FFF>Server </color>",
"Show Chat Prefix": true,
"Bot Icon (SteamID)": 0,
"Cooldown Between Auto Responses For User": "10s",
"Global Cooldown Between Auto Responses": "2s",
"Use Default Chat (0), Chat Plus (1), Better Chat (2)": 0,
"Debug": false,
"Allow Multiple Auto Responses": false,
"Minimal Time Between Message And Answer": 1,
"Maximal Time Between Message And Answer": 3,
"Welcome Message": [
"Welcome, {name}!"
],
"Welcome Message Enabled": true,
"Joining Message": [
"Welcome, {name}!"
],
"Leaving Message": [
"Bye, {name}!\nReason: {reason}"
],
"Joining Message Enabled": true,
"Leaving Message Enabled": true,
"Show Joining Message To Player That Joined": true,
"Show Leaving Message To Player That Left": false,
"Auto Messages": [
{
"Permission": "smartchatbot.messages",
"Message Frequency": "5m",
"Auto Messages": [
{
"Is Enabled": true,
"Message": "When you're cornered, there are two things you can do: move or fight"
}
]
}
],
"Auto Responses": [
{
"Permission": "smartchatbot.response",
"Auto Responses": [
{
"Is Enabled": true,
"Remove Message From Sender": false,
"Send Response For Everyone (true) or Only For Sender (false)": true,
"Triggers": [
{
"Percentage Of Contained Words": 0.25,
"Regex Enabled": false,
"Words": [
"server info",
"info"
]
}
],
"Answers": [
"Use 'server info.."
]
}
]
}
]
}the above is my original code... so below is what i want to acheive, but each tiome i edit the file and save it, it returns it to the orginal.. unless i make a glaring syntax mistake{
"Chat Prefix": "<color=#787FFF>Server </color>",
"Show Chat Prefix": true,
"Bot Icon (SteamID)": 0,
"Cooldown Between Auto Responses For User": "10s",
"Global Cooldown Between Auto Responses": "2s",
"Use Default Chat (0), Chat Plus (1), Better Chat (2)": 0,
"Debug": false,
"Allow Multiple Auto Responses": false,
"Minimal Time Between Message And Answer": 1,
"Maximal Time Between Message And Answer": 3,
"Welcome Message": [
"Welcome, {name}!"
],
"Welcome Message Enabled": true,
"Joining Message": [
"Welcome, {name}!"
],
"Leaving Message": [
"Bye, {name}!\nReason: {reason}"
],
"Joining Message Enabled": true,
"Leaving Message Enabled": true,
"Show Joining Message To Player That Joined": true,
"Show Leaving Message To Player That Left": false,
"Auto Messages": [
{
"Permission": "smartchatbot.messages",
"Message Frequency": "5m",
"Auto Messages": [
{
"Is Enabled": true,
"Message": "When you're cornered, there are two things you can do: move or fight"
}
]
}
],
"Auto Responses": [
{
"Permission": "smartchatbot.response",
"Auto Responses": [
{
"Is Enabled": true,
"Remove Message From Sender": false,
"Send Response For Everyone (true) or Only For Sender (false)": true,
"Triggers": [
{
"Percentage Of Contained Words": 0.25,
"Regex Enabled": false,
"Words": [
"event info",
"events"
]
}
],
"Answers": [
"Use 'event info.."
]
}
]
}
],
"Auto Responses": [
{
"Is Enabled": true,
"Remove Message From Sender": false,
"Send Response For Everyone (true) or Only For Sender (false)": true,
"Triggers": [
{
"Percentage Of Contained Words": 0.25,
"Regex Enabled": false,
"Words": [
"wipe",
"when is wipe"
]
}
],
"Answers": [
"Use 'server '/wipe' command"
]
}
]
}
}so this format dosn't work and im at a loss on how to have multiple responses