I am trying to make trigger to offensive words on SmartChatBot.
Config that I will send is working now, but when I add offensive word to trigger it is not detecting it, but rest of triggers works fine.
Thanks for every help
config:
Config that I will send is working now, but when I add offensive word to trigger it is not detecting it, but rest of triggers works fine.
Thanks for every help
config:
{
"Chat Prefix": "<color=#17597a>STARVING BOT: </color>",
"Show Chat Prefix": true,
"Bot Icon (SteamID)": 76561199052931261,
"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": 5,
"Welcome Message": [
],
"Welcome Message Enabled": true,
"Joining Message": [
"<color=#00b33c>Welcome {name} you're from {country}. Have fun on STARVING RUST!</color>"
],
"Leaving Message": [
"Bye, {name} ({id}, { ip })!\nReason: {reason}",
"{name} ({id}, { ip }) left the game. Reason: {reason}",
"{name} from {country} ({countrycode}) just left the game!"
],
"Joining Message Enabled": true,
"Leaving Message Enabled": false,
"Show Joining Message To Player That Joined": true,
"Show Leaving Message To Player That Left": true,
"Auto Messages": [{
"Permission": "smartchatbot.messages",
"Message Frequency": "37m",
"Auto Messages": [{
"Is Enabled": true,
"Message": "use /info for Server rules and Commands."
}]
},
{
"Permission": "smartchatbot.messages",
"Message Frequency": "43m",
"Auto Messages": [{
"Is Enabled": true,
"Message": "<color=#00b33c>You can choose when the wipe will happen by visiting discord and voting in survey.</color>"
}]
},
{
"Permission": "smartchatbot.messages",
"Message Frequency": "43m",
"Auto Messages": [{
"Is Enabled": true,
"Message": "<color=#00b33c>Please read rules carefully! Breaking it will cause kick for 10 min. Breaking rules twice will cause 24h kick. Third break will cause BAN. </color>"
}]
},
{
"Permission": "smartchatbot.messages",
"Message Frequency": "59m",
"Auto Messages": [{
"Is Enabled": true,
"Message": "<color=#00b33c>You are playing now on a STARVING RUST. Have fun</color>"
}]
}
],
"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": [
"wipe",
"vipe"
]
}],
"Answers": [
"<color=#00b33c>You have power here. Visit discord and vote when the wipe should happen.</color> "
]
},
{
"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": [
"discord"
]
}],
"Answers": [
"<color=#00b33c>Link to the discord is in information panel type /info</color>"
]
},
{
"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": [
"help",
"commands",
"kits"
]
}],
"Answers": [
"<color=#00b33c>If you need any help type /info. if you want to get kit type /kits. Have fun!</color>"
]
},
{
"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": [
"cheating",
"cheater",
"cheats",
"hax",
"hacking"
]
}],
"Answers": [
"<color=#00b33c>If you see that someone is cheating report it to admin on discord. For every cheater you will get vip for 50 days!</color>"
]
},
{
"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": true,
"Words": [
"ez",
"easy",
"eazy",
]
}],
"Answers": [
"<color=#00b33c>Hey stop it boor! There is no room for hate! </color>"
]
},
{
"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": [
"class",
"hero"
]
}],
"Answers": [
"<color=#00b33c>You can pick class that suits you best. Type /info to see how you can do it and remember you can do it only one time per wipe.</color> "
]
},
{
"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": [
"vip",
"free vip"
]
}],
"Answers": [
"<color=#00b33c>When you will buy trial vip you will get smoke rocket. Show it to any admin, and he will give you vip for 7 days. Remember, if you will lose it before admin will se it you won't get it, so make sure admin is nearby.</color>"
]
}
]
}]
}