Jump to content

Chqwy

Member
  • Posts

    6
  • Joined

  • Last visited

Posts posted by Chqwy

  1. every second:
    	loop all players:
    		if {_gamestarted} is equal to 1:
    			remove 1 from {_s}
    			if {_s} is equal to 0 or 1 or 2 or 3 or 4 or 5 or 6 or 7 or 8 or 9:
    				send action bar "{@prefix} &8>> &c%{_m}%:0%{_s}%" to loop-player
    			else:
    				send action bar "{@prefix} &8>> &c%{_m}%:%{_s}%" to loop-player
    			if {_s} is equal to -1:
    				remove 1 from {_m}
    				set {_s} to 59
    			if {_m} is equal to 0:
    				if {_s} is equal to 0:
    					send action bar "{@prefix} &8>> &40:00" to loop-player
    		else:
    			send action bar "&c&lPLEASE WAIT" to loop-player

    I am wondering why this does not work. pls help

  2. There are no Skript error logs, but on death does not function, it doesn't add the number specified to my list variable. Someone help

    on death:
    	attacker is player
    	victim is a husk
    	if victim's display name is "&8[&c1&8] &2Zombified Bandit":
    		make console execute command "givexp %player%"
    
    command /summonmob:
    	permission: rpg.summon
    	permission message: {@prefix} &cInsufficient Permission!
    	trigger:
    		spawn 1 husk 1 meter above player's location
    		set name of last spawned entity to "&8[&c1&8] &2Zombified Bandit"
    
    command /givexp <player>:
    	permission: rpg.givexp
    	permission message: {@prefix} &cInsufficient Permissions!
    	trigger:
    		set {_xpinteger} to random integer between 10 and 20
    		if arg-1 is set:
    			set {xp::%arg 1%} to {xp::%arg 1%}+{_xpinteger}
    			send "{@prefix} &aGained &c%arg-1% &aXP!"
    		else:
    			send "{@prefix} &cUsage: /givexp <player>"

     

×
×
  • Create New...