Added chat bot

This commit is contained in:
Cooldude2606
2019-06-12 23:16:25 +01:00
parent 336550f5c3
commit cfff682b18
7 changed files with 159 additions and 20 deletions

View File

@@ -11,7 +11,7 @@ return {
{'warnings.received',{'warnings.pre-pre-ban'}},
{'warnings.received',{'warnings.pre-ban'}},
function(player,by_player_name,number_of_warnings)
game.ban_player(player,{'warnings.received',by_player_name,number_of_warnings,{'warnings.ban',{'info.website-link'}}})
game.ban_player(player,{'warnings.received',by_player_name,number_of_warnings,{'warnings.ban',{'links.website'}}})
end
},
temp_warning_cool_down=30, -- time for a temp warning (given by script) to be removed (in minutes)