Jump to content
  • 0

any free scripts for gold room with anti bot like asking a code?


AinsLord

Question


  • Group:  Members
  • Topic Count:  257
  • Topics Per Day:  0.08
  • Content Count:  737
  • Reputation:   18
  • Joined:  11/21/15
  • Last Seen:  

im actually looking for some free scripts for my server regarding the gold room with anti bot

that once you interact with the NPC it will show set of letters once you entered it correctly NPC will warped you

directly inside the gold room

thnx in advance

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  80
  • Reputation:   1
  • Joined:  10/08/13
  • Last Seen:  

prontera,100,100,5	script	Gold Room Warper	109,{

set passcode$,"Gold Room";
mes "[Gold Room Warper]";
mes "Please enter the following phrase to enter: Gold Room";
input @phrase$;
if(@phrase$ != passcode$){
	next;
	mes "[Gold Room Warper]";
	mes "What you entered did not match the passphrase.";
	mes "Please speak with me again to re-enter the phrase.";
	end;
	}
else
warp "turbo_room",0,0;
end;
}

Just made this real quick. Just change the phrase to whatever you want it to be.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.01
  • Content Count:  34
  • Reputation:   1
  • Joined:  09/08/15
  • Last Seen:  

prontera,100,100,5	script	Gold Room Warper	109,{

set passcode$,"Gold Room";
mes "[Gold Room Warper]";
mes "Please enter the following phrase to enter: Gold Room";
input @phrase$;
if(@phrase$ != passcode$){
	next;
	mes "[Gold Room Warper]";
	mes "What you entered did not match the passphrase.";
	mes "Please speak with me again to re-enter the phrase.";
	end;
	}
else
warp "turbo_room",0,0;
end;
}

Just made this real quick. Just change the phrase to whatever you want it to be.

 

Is this working?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  92
  • Reputation:   17
  • Joined:  08/11/12
  • Last Seen:  

Yes it is. But I have made a few changes so it could be more accurate.
 
First of all, there's no need to set a permanent player variable to store room password.. If it's intended to be a constant then it won't be changed anyway so we just need to declare one time. Besides that I have made more changes related to variable scopes.

// Author: Oceanid
prontera,100,100,5	script	Gold Room Warper	109,{

	mes "[Gold Room Warper]";
	mes "Please enter the following phrase to enter: Gold Room";
	next;
	input .@phrase$;
	if(.@phrase$ != .passcode$){
		mes "[Gold Room Warper]";
		mes "What you entered did not match the passphrase.";
		mes "Please speak with me again to re-enter the phrase.";
		close;
	}
	else {
		mes "[Gold Room Warper]";
		mes "Ok, there we go!";
		close2;
		warp "turbo_room",0,0;
		end;
	}

OnInit:
	set .passcode$, "Gold Room";
}

All the credits to Sir Oceanid, the original author.

Edited by _Okuz_
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...