Jump to content

Shorten Skript


BOXEY

Recommended Posts

hello i was just wondering if there was any way to make this skript smaller so it looks better

 

on place of beehive:
	send "&2Drill&7 >> You Placed a Drill"
	set {_dig} to the location under event-block
	set {block} to block at {_dig}
	set block at {_dig} to air
	wait 15 ticks
	set {_dig} to the location east of {_dig}
	loop 10 times:
		set {block} to block at {_dig}
		set block at {_dig} to air
		wait 15 ticks
		set {_dig} to the location south of {_dig}
		set {block} to block at {_dig}
		set block at {_dig} to air
		wait 15 ticks
		set {_dig} to the location west of {_dig}
		set {block} to block at {_dig}
		set block at {_dig} to air
		wait 15 ticks
		set {_dig} to the location west of {_dig}
		set {block} to block at {_dig}
		set block at {_dig} to air
		wait 15 ticks
		set {_dig} to the location north of {_dig}
		set {block} to block at {_dig}
		set block at {_dig} to air
		wait 15 ticks
		set {_dig} to the location north of {_dig}
		set {block} to block at {_dig}
		set block at {_dig} to air
		wait 15 ticks
		set {_dig} to the location east of {_dig}
		set {block} to block at {_dig}
		set block at {_dig} to air
		wait 15 ticks
		set {_dig} to the location east of {_dig}
		set {block} to block at {_dig}
		set block at {_dig} to air
		wait 15 ticks
		set {_dig} to the location south of {_dig}
		wait 5 ticks
		set {_dig} to the location west of {_dig}
		wait 5 ticks
		set {_dig} to the location under {_dig}
		set {block} to block at {_dig}
		set block at {_dig} to air
		wait 15 ticks
		set {_dig} to the location east of {_dig}

yea it is a lot of stuff

 

discord - Boxey#1326

Link to comment
Share on other sites

  • 1 month later...

Sizes of skripts are not really a issue but, if it is for you maybe you can add funtions ect.

Edited by Invislol

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

3 hours ago, Pocan said:

image.jpeg.e9e2f2a2663942e204e151b3129d1e71.jpeg

I meant arn't*

 

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

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