View difference between Paste ID: B8K55J6x and pe6e91Yg
SHOW: | | - or go back to the newest paste.
1
options:
2
	waluta: $ #Jest to waluta jaka ustawiles w Essentialu, nie pamietam ktora linia, ale jest cos takiego w essentialu
3
command /superskoczek [<player>]:
4
	trigger:
5
		if player has permission "superskoczek.gracz":
6
			if arg 1 is not set:
7
				if player's balance is greater than 249:
8
					remove {@waluta} 250 from player's balance
9
					give 1 feather named "&aSuper Skoczek"
10
				else:
11
					send "&c[&6SS&c] &aNie masz wystarczajacej ilosci pieniedzy!" to player
12
			else:
13
				send "&c[&6SS&c] &6Poprawne uzycie: /superskoczek!" to the player
14-
		else:
14+
		if player has permission "superskoczek.admin":
15-
			if player has permission "superskoczek.admin":
15+
			if arg 1 is set:
16-
				if arg 1 is set:
16+
				send "&c[&6SS&c] &6Dano graczowi &c%player-arg% &6Super Skoczka!" to player
17-
					send "&c[&6SS&c] &6Dano graczowi &c%player-arg% &6Super Skoczka!" to player
17+
				give feather named "&aSuper Skoczek" to the player-arg
18-
					give feather named "&aSuper Skoczek" to the player-arg
18+
19
				send "&c[&6SS&c] &6Poprawne uzycie: /superskoczek <nick>" to player