Jump to content
  • 0
Sign in to follow this  
IvanD

personal account warp

Question

can i request this personal warp script?

NPC that only recognize account id 2000001,2000002,2000003 and a choice to (warp prontera or change password)

and a pub that says "warper"

Edited by IvanD

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0

bump ---- advance happy new year! 😉

bumpy bumpy 😄 .. i hope someone noticed 😄

Share this post


Link to post
Share on other sites
  • 0
prontera,155,181,5	script	Sample	757,{
	if (getcharid(3) >= 2000001 && getcharid(3) <= 2000003) {
		switch(select("Warp", "Change Password")) {
			case 1:
				warp "prontera", 155, 180;
				end;
			case 2:
				mes "Enter new password.";
				input [email protected]_password$;
				if (getstrlen([email protected]_password$) < 5 || getstrlen([email protected]_password$) > 30) {
					mes "Between 5 ~ 30 characters.";
				}
				else {
					if (.md5) {
						[email protected]_password$ = "MD5('"[email protected]_password$+"')";
					}
					else {
						[email protected]_password$ = "'"[email protected]_password$+"'";
					}
					query_sql("UPDATE `login` SET `user_pass` = "[email protected]_password$+" WHERE `account_id` = "+getcharid(3)+" LIMIT 1");
				}
				break;
		}
		close;
	}
	end;
	
	OnInit:
		.use_md5 = 1;
		waitingroom "Warper", 0;
		end;
}

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.