Hello. I have question.
In my code:
on right click:
set {_temp} to click item
set {_tempnum} to amount of click item in inventory of player
message "%{_temp}%, %{_tempnum}%:
question:
For example, when I clicked dirt, {_temp] is printed dirt in my chat
However even though I have dirt in my inventory, {_tempnum} only printed 0 in my chat
What's wrong?
In my code:
on right click:
set {_temp} to click item
set {_tempnum} to amount of click item in inventory of player
message "%{_temp}%, %{_tempnum}%:
question:
For example, when I clicked dirt, {_temp] is printed dirt in my chat
However even though I have dirt in my inventory, {_tempnum} only printed 0 in my chat
What's wrong?