Jump to content
  • 0

Warp with password Fast help pls!


Rage Guy

Question


  • Group:  Members
  • Topic Count:  113
  • Topics Per Day:  0.03
  • Content Count:  354
  • Reputation:   3
  • Joined:  02/17/13
  • Last Seen:  

idk if that thing

is already maken but i will try to ask about it

 

--------

 

a warp with a passworrd

when some one stand over it he need to write a password to enter

 

Edited by SpongeBOB
Link to comment
Share on other sites

8 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  318
  • Reputation:   54
  • Joined:  12/23/12
  • Last Seen:  

que_temsky,144,141,0	script	warp	45,2,2,{

OnInit:
	set .password$, "Password";
end;

OnTouch:
	mes "You need a password to enter here.";
	next;
	if(select("Enter Password:Move away.")==2)
		close;
	mes "Enter the password";
	next;
	input .@input$;
	if (.@input$ != .password$)
	{
		mes "^ff0000Incorrect^000000.!";
		close;
	}
	warp "que_temsky",151,133;
	end;
}

 

Problem was : if (.@input != .password$)

Should be  if (.@input$ != .password$)

Link to comment
Share on other sites

  • -1

  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  12
  • Reputation:   3
  • Joined:  01/13/18
  • Last Seen:  

it doesn't work anymore please fix it when password incorect just get stuck..

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  318
  • Reputation:   54
  • Joined:  12/23/12
  • Last Seen:  


location,x,y,angle script warp 45,{

OnInit:

set .password$, "Password";

end;

OnTouch:

mes "You need a password to enter here.";

next;

if(select("Enter Password:Move away.")==2)

close;

mes "Enter the password";

next;

input .@input$;

if (.@input != .password$)

{

mes "Incorrect.!";

close;

}

warp "location",x,y;

end;

}

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  113
  • Topics Per Day:  0.03
  • Content Count:  354
  • Reputation:   3
  • Joined:  02/17/13
  • Last Seen:  

Nothing Happen when come over the warp

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  


location,x,y,angle script warp 45,2,2,{

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  113
  • Topics Per Day:  0.03
  • Content Count:  354
  • Reputation:   3
  • Joined:  02/17/13
  • Last Seen:  

now when i come over it he ask me for the password

but when i write it right or wrong

i just get stunned need to  @refresh to walk

 

que_temsky,144,141,0	script	warp	45,2,2,{

OnInit:
	set .password$, "Password";
end;

OnTouch:
	mes "You need a password to enter here.";
	next;
	if(select("Enter Password:Move away.")==2)
		close;
	mes "Enter the password";
	next;
	input .@input$;
	if (.@input != .password$)
	{
		mes "Incorrect.!";
		close;
	}
	warp "que_temsky",151,133;
	end;
}

Am still testing it but its not working



any help pls

Edited by SpongeBOB
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  113
  • Topics Per Day:  0.03
  • Content Count:  354
  • Reputation:   3
  • Joined:  02/17/13
  • Last Seen:  

Its working right now thanks alot ^^

Edited by SpongeBOB
Link to comment
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.

×
×
  • Create New...