Jump to content

Helping PPL with skript! (i also need idea's lmao)


Darth1013

Recommended Posts

Im trying to make it so a player doesn't drop an item if they have been killed in the past minute, I'm not sure if its possible I just want to check.

Here is my Skript:
on death:
    victim is a player
    damager is a player
    if victim has been killed in the past 1 minute:
        send "This player has been killed recently, please wait 
        or kill someone else!"
    else:
        send "You killed &4&l%player%&r and recieved a soul!" to damager
        give damager soul sand named "&4&lSoul"

  • Like 1
Link to comment
Share on other sites

13 hours ago, The_Wire_Wolf said:

Im trying to make it so a player doesn't drop an item if they have been killed in the past minute, I'm not sure if its possible I just want to check.

Here is my Skript:
on death:
    victim is a player
    damager is a player
    if victim has been killed in the past 1 minute:
        send "This player has been killed recently, please wait 
        or kill someone else!"
    else:
        send "You killed &4&l%player%&r and recieved a soul!" to damager
        give damager soul sand named "&4&lSoul"

what line is coughing up an error?

  • Like 1
Link to comment
Share on other sites

22 hours ago, LeakReal said:

hey, you still doing this?

if so, it would be cool if you could make it so if you type /sk reload <skript>, it will broadcast a message that says a skript is being reloaded

some1 in a differant thread has done this for you 😄

  • Like 1
Link to comment
Share on other sites

Hey i cant get my skript to detect an enchantment level on an item, please help!:

 

every 5 seconds:
    loop all players:
        if loop-player's inventory contains stick:
            if stick is enchanted with knockback:
                if knockback is higher than 2:
                    remove stick from loop-player's inventory

  • Like 1
Link to comment
Share on other sites

  • 3 weeks later...
On 10/25/2021 at 9:23 AM, KartRacer204 said:

tpa home back all in one?

command /sethome [<string>]:
	permission: homes.set
	trigger:
		if arg is not set:
			set {homes::%player's uuid%::home} to player's location
			send "&aDefault home set to your location"
		else:
			set {homes::%player's uuid%::%arg%} to player's location
			send "&aHome &2&o%arg% &aset to your location"

command /homes:
	permission: homes.list
	trigger:
		if {homes::%player's uuid%::*} is set:
			send "&aListing your homes"
			loop {homes::%player's uuid%::*}:
				send "&7- %loop-index%"
		else:
			send "&cYou have no homes set!"

command /delhome [<string>]:
	permission: homes.delete
	trigger:
		if arg is set:
			if {homes::%player's uuid%::%arg%} is set:
				delete {homes::%player's uuid%::%arg%}
				send "&aHome &2&o%arg% &adeleted"
			else:
				send "&cThis home doesn't exist!"
		else:
			send "&aWhich home would you like to delete? Use &2&o/homes &ato list your homes"

command /home [<string>]:
	permission: homes.home
	trigger:
		if arg is set:
			if {homes::%player's uuid%::%arg%} is set:
				teleport player to {homes::%player's uuid%::%arg%}
				send "&aTeleported to &2&o%arg%"
			else:
				send "&cThis home doesn't exist!"
		else:
			if {homes::%player's uuid%::home} is set:
				teleport player to {homes::%player's uuid%::home}
				send "&aTeleported to &2&ohome"
			else:
				send "&cYou do not have a default home set"

boom, done

  • Like 2

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

Skript - 8 months

Minecraft - 8 years                         No Bitches?

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

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