View difference between Paste ID: bEPsFA3U and VvwAMRxn
SHOW: | | - or go back to the newest paste.
1
options:
2
	linha1: &4[Sopa]
3
	linha2: &a&lGratis
4
on sign change:
5
	if player is op:
6-
	if line 1 is "[Sopa]":
6+
		if line 1 is "Sopa":
7-
		if line 2 is "Gratis":
7+
			set line 1 to "{@linha1}"
8
			set line 1 to "{@linha2}"
9
			stop
10
command /sopa:
11
    trigger:
12
        open chest with 1 rows named "&4&lSopa" to player
13
        format slot 0 of player with 32 of mushroom soup to close
14
on rightclick on sign:
15
	if line 1 is "{@linha1}":
16
		if line 2 is {@linha2}":
17
			make player execute command "/sopa"
18
			make player execute command "/sopa"