15.02.2018, 15:36
Hello,
Just for my own account in my own server, I wish to have a secret question protection enabled. That is, when my account whose name let's suppose is "John" logs in, it will first login normally with the login password etc whatever it used to register and then after logging in it will display a dialog asking a question whose answer will be defined in the gm. If that answer fails even once, that person will be banned.
That dialog will have 2 options "Answer" "Quit"
Quit will kick the player.
So what needs to be scripted is the dialog after my account connects which will ask a question (the question will be predefined in the gm too). But it must detect my name! This protection is ONLY FOR MY ACCOUNT, no one else!
Can someone help in the making of this simple code?
Just for my own account in my own server, I wish to have a secret question protection enabled. That is, when my account whose name let's suppose is "John" logs in, it will first login normally with the login password etc whatever it used to register and then after logging in it will display a dialog asking a question whose answer will be defined in the gm. If that answer fails even once, that person will be banned.
That dialog will have 2 options "Answer" "Quit"
Quit will kick the player.
So what needs to be scripted is the dialog after my account connects which will ask a question (the question will be predefined in the gm too). But it must detect my name! This protection is ONLY FOR MY ACCOUNT, no one else!
Can someone help in the making of this simple code?