Jump to content

I need help


jeep2729

Recommended Posts

You can use skript. Make a world guard region and with skript, use the on region enter event and cancel it if the player is not yet prestige 1.

https://skripthub.net/docs/?id=1099

https://skripthub.net/docs/?id=1105

 

Discord - tarna256

In-game name - _Tarna_

Website - https://tarna.dev
Paste Site: https://paste.tarna.dev

---------------------------------------------------------

[VIP] - 7/27/2020

Community Support - 7/8/20 | 11/3/20

Helper  - 11/3/20 - 2/21/21

Moderator - 2/21/21 - 5/17/21

❤️ - 5/17/21 - now

Moderator - 12/20/22 - now

---------------------------------------------------------

image.png.70849a9b84e0347ce107b8e3eaee312c.pngimage.png.2111009afbd8bef10966ba9ede35a199.png

Link to comment
Share on other sites

on rightclick on sign:
	1st line of clicked block is "right click to"
	2nd line of clicked block is "warp to prestige"
	3rd line of clicked block is "3 zone"
	4th line of clicked block is "(requires p.3)"
	if {prestige.%player%} < 2:
		send "works" to player

also can anyone tell me why this is not working?

Link to comment
Share on other sites

what error is it sending back?

Invislol 

• 4-5 years of skript experience
• 6 Months of active java experience
• 2 Years of javascript and python experience


unknown.png
[PATRON] RANK

Helpful Stuff:
Appeals and Reports  - Here | Minehut  Global And forums rules - Here

Link to comment
Share on other sites

9 hours ago, jeep2729 said:

on rightclick on sign:
	1st line of clicked block is "right click to"
	2nd line of clicked block is "warp to prestige"
	3rd line of clicked block is "3 zone"
	4th line of clicked block is "(requires p.3)"
	if {prestige.%player%} < 2:
		send "works" to player

also can anyone tell me why this is not working?

Try this:

on rightclick on sign:
	1st line of event-block is "right click to"
	2nd line of event-block is "warp to prestige"
	3rd line of event-block is "3 zone"
	4th line of event-block is "(requires p.3)"
	if {prestige.%player%} < 2:
		send "works" to player

If this still doesn't work, then it's one of the problems listed below:

-> The variable {prestige.%player%} is not set.

-> The variable {prestige.%player%} is not less than 2.

You can check that by debugging (broadcasting the variable in this case) as follows:

broadcast "%{prestige.%player%}%" right before you check if it's less than 2

Hello there! If you're reading this, hope you're having a wonderful day!

 

Feel free to contact me via Discord (CoolProgrammer#1920) for any help.

My DMs are always open for help.

You can also message via. forum messages for help.

1604908226_ScreenShot2021-01-28at10_32_28AM.png.2646ad6be239a9d0756a99e8e15602ab.png

Also, don't hesitate to leave a like on my post if I helped you in any way.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...