Jump to content
  • 0

password to open a warp


luizinhomt

Question


  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  88
  • Reputation:   1
  • Joined:  01/05/13
  • Last Seen:  

Good evening everyone, does anyone know a code so that when talking to the NPC they will ask for a password, if this password is correct it will open a portal to another location. thank you all

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  55
  • Topics Per Day:  0.01
  • Content Count:  1190
  • Reputation:   161
  • Joined:  06/12/12
  • Last Seen:  

1 hour ago, luizinhomt said:

Good evening everyone, does anyone know a code so that when talking to the NPC they will ask for a password, if this password is correct it will open a portal to another location. thank you all

this using at this link Warp with password Fast help pls! - Script Requests - rAthena

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  132
  • Reputation:   53
  • Joined:  06/02/12
  • Last Seen:  

Good evening

yuno,157,83,3	script	Portal Gatekeeper	4_M_PAY_SOLDIER,{
	
	.@password$ = "luizinhomt";	//password
	.@portal$ = "Hidden Port0l#l";	//portal npc name

	npctalk "What is the password?", strnpcinfo(0), bc_self;
	input .@input$;
	unittalk getcharid(3), strcharinfo(0) + " : " + .@input$, bc_self;
	sleep2 500;
	if (!compare(.@input$,.@password$)) {
		npctalk "This is not the password.", strnpcinfo(0), bc_self;
		emotion ET_THINK, getnpcid(0);
		end;
	}
	npctalk "I will open a portal to another location.", strnpcinfo(0), bc_self;
	cloakoffnpcself .@portal$;
	specialeffect EF_BIG_PORTAL,SELF,.@portal$;
	end;
}

yuno,153,85,0	warp(CLOAKED)	Hidden Port0l#l	1,1,yuno,0,0

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  88
  • Reputation:   1
  • Joined:  01/05/13
  • Last Seen:  

Sorry for the delay, I'll test it sometimes, I can't access Rathena's website when cloudfire loads, I don't know why. Thank you very much, I'll test it

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...