hello, how are you?
Well I'm having problem with some sk lines, can anyone help me?
He gives the following error on the console and this is very bad
line 3 of event-block is already a text, so you should not put it in one (e.g. line 3 of event-block instead of "%line 3 of event-block%") (novo.sk, line 45: set {guild::shopitem::%line 3%} to "%line 3%" parsed as item')
Well I'm having problem with some sk lines, can anyone help me?
Code:
on sign change:
line 1 of event-block is "[FunnyShop]" or "[FShop]"
set {_prefix} to "%{FShop::Messages::GlobalPrefix}%"
if player's gamemode is creative:
if line 2 of event-block is "Comprar":
if player has permission "fshop.Comprarsign":
if line 3 of event-block is not empty:
if line 4 of event-block is not empty:
set {_Line1} to "%{FShop::Messages::ComprarSignLine1}%"
set {_Line2} to "%{FShop::Messages::ComprarSignLine2}%"
set {_Line3} to "%{FShop::Messages::ComprarSignLine3}%"
set {_Line4} to "%{FShop::Messages::ComprarSignLine4}%"
set {guild::shopitem::%line 3%} to "%line 3%" parsed as item
set {guild::priceitem::%line 3%} to "%line 4%" parsed as number
set line 1 of event-block to "%{_Line1}%"
set line 2 of event-block to "%{_Line2}%%line 3%"
set line 3 of event-block to "%{_Line3}%$%line 4%"
set line 4 of event-block to "%{_Line4}%"
else:
message "%{_prefix}% &cVocê esqueceu de digitar o preço!"
else:
message "%{_prefix}% &cVocê esqueceu de colocar o item!"
else:
message "%{_prefix}% &cVocê não tem permissão para isso!"
He gives the following error on the console and this is very bad
line 3 of event-block is already a text, so you should not put it in one (e.g. line 3 of event-block instead of "%line 3 of event-block%") (novo.sk, line 45: set {guild::shopitem::%line 3%} to "%line 3%" parsed as item')