View difference between Paste ID: 4QdDZ4Rp and Ac9w763F
SHOW: | | - or go back to the newest paste.
1-
on right click:
1+
# PRECISA DE vault #
2-
	if target block is a sign:
2+
on right click on sign:
3-
		if line 1 is "[COMPRAR]":
3+
	if line 1 is "[COMPRAR]":
4-
			if line 2 is set:
4+
		if line 2 is set:
5-
				set {_comprarregion.%player%} to line 2
5+
			set {_c2r} to line 2
6-
				set {_comprarpreco.%player%} to line 3
6+
			set {_c2p} to line 3
7-
				if player's balance is {_comprarpreco.%player%}:
7+
			if player's balance is equal to or greater than {_c2p}:
8-
					remove {_comprarpreco.%player%} from player's balance
8+
				remove {_c2p} from player's balance
9
				send "funfo"