Dude your awesome, what shud i add in xml.. /report?
Edit: Something like??PHP:<talkaction words="/reply;/report" event="script" value="botreport.lua"/>
you should add an infraction count, like for every successful 3 bans the server will perma ban him.
You should add an infraction count, like for every successful 3 bans the server will perma ban him.
+1
Btw it kicks the player but he doesnt get banned he can login back again
You know you can grab last message with bot, substr it and eval the code to get the correct reply and send it to client. Should use some more advanced questions than math equations instead.
Like what?
Non-mathematical ones, rather questions such as "What color is the sea?" etc etc.
Eh, you're only using storage's. It would be better if it were affiliated with the database. Anyway, I suppose it's good. ^_^
local messages = {
{"Whats this game name?", "tibia"},
{"question", "answer"},
{"question", "answer"}
}