Hi please i need some help, what is the code to connect my Script into my Database table . here is my script please help .
ready also the script this is very basic
- script test 1,{
OnPCLoginEvent:
if( !#Verification ){
mes "Input Verification Code:";
input .@verificationcode; //This the Player Input Where he/she will input the Code that we given
if( .@verification != my SqL Database ) //then this is the Tracking area where i want to connect this script to my Database if the inputed verificationcode is not equal in the code on my database the player will be kicked :)
{
mes"Sorry you Inputed a Code That is not List in our Database";
next;
atcommand "@kick" Player // the player will be kick
}
}
else
{
set #Verification,1; //meaning if this is set to 1 this will not pop up again when they are logging in
mes "Welcome to the Server :)";
close;
}
}
Question
Onairda
Hi please i need some help, what is the code to connect my Script into my Database table . here is my script please help .
ready also the script this is very basic
- script test 1,{ OnPCLoginEvent: if( !#Verification ){ mes "Input Verification Code:"; input .@verificationcode; //This the Player Input Where he/she will input the Code that we given if( .@verification != my SqL Database ) //then this is the Tracking area where i want to connect this script to my Database if the inputed verificationcode is not equal in the code on my database the player will be kicked :) { mes"Sorry you Inputed a Code That is not List in our Database"; next; atcommand "@kick" Player // the player will be kick } } else { set #Verification,1; //meaning if this is set to 1 this will not pop up again when they are logging in mes "Welcome to the Server :)"; close; } }
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.