i need the script to only accept me.. i mean it'll only accept the account i'm using right now
like for example im using the account -->> user123 and pass123
if i enter the user1234 and pass1234 which exist it'll tell me that
you are currently logged in as "user123" please provide the info for this account only to logged-in.
mes "[ In-Game Control Panel ]";
mes " ";
mes "^0000ff*Enter Your Username*^000000";
input .@userid$;
mes "^0000ff*Enter Your Password*^000000";
input .@user_pass$;
query_sql "SELECT account_id FROM login WHERE userid='"+escape_sql(.@userid$)+"' AND user_pass='"+escape_sql(.@user_pass
$)+"'", .@account_id;
if (.@account_id) {
next;
mes "[ In-Game Control Panel ]";
mes " ";
mes "^ff0000*You are now logged-In*^000000";
next;
} else {
next;
mes "[ In-Game Control Panel ]";
mes "^ff0000ERROR^000000 :";
mes "- Invalid Username/Password.";
mes "- Account Does Not Exist.";
close;
}
Question
caspa
hello, can somebody help me on this script.
i need the script to only accept me.. i mean it'll only accept the account i'm using right now
like for example im using the account -->> user123 and pass123
if i enter the user1234 and pass1234 which exist it'll tell me that
you are currently logged in as "user123" please provide the info for this account only to logged-in.
BUMP........
Link to comment
Share on other sites
3 answers 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.