Jump to content

can someone help me with a clearlag skript


lazzurafume

Recommended Posts

The script I'm using is this:

every 5 minutes:
    broadcast "Clearing dropped items in 60 seconds."
    wait 30 seconds
    broadcast "Clearing dropped items in 30 seconds."
    wait 20 seconds
    broadcast "Clearing dropped items in 10 seconds."
    wait 5 seconds
    broadcast "clearing dropped items in 5 seconds"
    wait 1 seconds
    broadcast "clearing dropped items in 4 seconds"
    wait 1 seconds 
    broadcast "clearing dropped items in 3 seconds"
    wait 1 seconds 
    broadcast "clearing dropped items in 2 seconds"
    wait 1 seconds
    broadcast "clearing dropped items in 1 seconds"
    wait 1 seconds
    broadcast "Killed %size of dropped items% dropped items."
    kill dropped items

 Can someone help or tell me how to make a manual command for this and how to make it look better. The messages look plain white.

Edited by lazzurafume
Link to comment
Share on other sites

idk why people haven't helped u its been 14 hours and this is easy... whatever

simple, use stuff like &4 and &c before the text example:
"&4Clearing Items In 60 Seconds!"
or
"&4[Clearlag] &cClearing Items In 60 Seconds"

  • Thanks 1

Just a skripter who likes to have fun

I also think I'm pretty good at it

PS my discord is Enchanted#3933 incase idk anything?

Link to comment
Share on other sites

24 minutes ago, Skymner said:

idk why people haven't helped u its been 14 hours and this is easy... whatever

simple, use stuff like &4 and &c before the text example:
"&4Clearing Items In 60 Seconds!"
or
"&4[Clearlag] &cClearing Items In 60 Seconds"

thanks

Link to comment
Share on other sites

im not smart but i think this is how it should go for commands 

command /clearitems:
  aliases: /clear, /killitems, /ci
  description: Clear all dropped items
  permission: clear.items
  permission message: &cNo permission!
  trigger:
         broadcast "Killed %size of dropped items% dropped items."
                   kill dropped items   

 

 

 

 

i have no idea of this works or not so try it i guess

 

 

Edited by chikenwing
Link to comment
Share on other sites

options:
	pre: &8[&4ClearLag&8] &c

command /clearlag:
	if sender has permission "skript.clearlag":
		broadcast "{@pre}Clearing dropped items in 60 seconds."
		wait 30 seconds
		broadcast "{@pre}Clearing dropped items in 30 seconds."
		wait 20 seconds
		broadcast "{@pre}Clearing dropped items in 10 seconds."
		wait 5 seconds
		set {_sec} to 5
		loop 5 times:
			broadcast "{@pre}Clearing dropped items in %{_sec}% &cseconds."
			wait 1 second
			remove 1 from {_sec}
		broadcast "{@pre}Killed %size of dropped items% &cdropped items."
		kill dropped items

 

Discord: Dead#6905

Love anime!


Anime Gifs

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