Help-me Please

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

TheRobs

Member
Jan 26, 2017
16
0
1
24
Hello .. Good night! I am in need of help with this .sk I'm running 1.13.2 All adons, and the latest version of skript, it gives the following error:
Code:
[01:38:11 ERROR]: Can't understand this condition/effect: invoke "FunnyShopComprar" from player and "%{_item}%" and "%{_x}%" and "%{_price}%" (novo.sk, line 174: invoke "FunnyShopComprar" from player and "%{_item}%" and "%{_x}%" and "%{_price}%"')
[01:38:11 ERROR]: Can't understand this condition/effect: invoke "FunnyShopVender" from player and "%{_item}%" and "%{_x}%" and "%{_price}%" (novo.sk, line 177: invoke "FunnyShopVender" from player and "%{_item}%" and "%{_x}%" and "%{_price}%"')
[01:38:11 ERROR]: Can't understand this condition/effect: invoke "FunnyShopMessages" from player (novo.sk, line 185: invoke "FunnyShopMessages" from player')
[01:38:11 ERROR]: Can't understand this condition/effect: invoke "FunnyShopCMenu" from player (novo.sk, line 240: invoke "FunnyShopCMenu" from player')
[01:38:11 ERROR]: Can't understand this condition/effect: invoke "FunnyShopMessages" from player (novo.sk, line 257: invoke "FunnyShopMessages" from player')
[01:38:11 ERROR]: Can't understand this condition/effect: invoke "FunnyShopCMenu" from player (novo.sk, line 357: invoke "FunnyShopCMenu" from player')


Here is the skript:

Code:
on script load:     
    if {FShop::Messages::GlobalPrefix} is not set:
        set {FShop::Messages::GlobalPrefix} to "&6&lFunnyShop &8» "
    if {FShop::Messages::ComprarSignLine1} is not set:
        set {FShop::Messages::ComprarSignLine1} to "&4&lComprar Item"
    if {FShop::Messages::ComprarSignLine2} is not set:
        set {FShop::Messages::ComprarSignLine2} to "&0"
    if {FShop::Messages::ComprarSignLine3} is not set:
        set {FShop::Messages::ComprarSignLine3} to "&2&l&o"
    if {FShop::Messages::ComprarSignLine4} is not set:
        set {FShop::Messages::ComprarSignLine4} to "&8&nClique Aqui"
    if {FShop::Messages::VenderSignLine1} is not set:
        set {FShop::Messages::VenderSignLine1} to "&4&lVender Item"
    if {FShop::Messages::VenderSignLine2} is not set:
        set {FShop::Messages::VenderSignLine2} to "&0"
    if {FShop::Messages::VenderSignLine3} is not set:
        set {FShop::Messages::VenderSignLine3} to "&2&l&o"
    if {FShop::Messages::VenderSignLine4} is not set:
        set {FShop::Messages::VenderSignLine4} to "&8&nClique Aqui"
    if {FShop::Messages::ComprarMenuTitle} is not set:
        set {FShop::Messages::ComprarMenuTitle} to "&7» &8&lComprar Item"
    if {FShop::Messages::VenderMenuTitle} is not set:
        set {FShop::Messages::VenderMenuTitle} to "&7» &8&lVender Item"
    if {FShop::Messages::ComprarMenuText} is not set:
        set {FShop::Messages::ComprarMenuText} to "&c&l"
    if {FShop::Messages::VenderMenuText} is not set:
        set {FShop::Messages::VenderMenuText} to "&a&l"
  
 
 
 
on sign change:
    line 1 of event-block is "l" or "l"
    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!"
 
        else if line 2 of event-block is "Vender":
            if player has permission "fshop.Vendersign":
                if line 3 of event-block is not empty:
                    if line 4 of event-block is not empty:
                        set {_Line1} to "%{FShop::Messages::VenderSignLine1}%"
                        set {_Line2} to "%{FShop::Messages::VenderSignLine2}%"
                        set {_Line3} to "%{FShop::Messages::VenderSignLine3}%"
                        set {_Line4} to "%{FShop::Messages::VenderSignLine4}%"
                        set {guild::Vendershopitem::%line 3%} to line 3 parsed as item
                        set {guild::Venderpriceitem::%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 colocar o preço!"
                else:
                    message "%{_prefix}% &cVocê esqueceu de colocar o item!"
            else:
                message "%{_prefix}% &cVocê não tem permissão para isso!"
        else:
            message "%{_prefix}% &cEscreva na segunda linha Vender or Comprar."
    else:
        message "%{_prefix}% &cVocê precisa estar em modo criativo para isso!"
                      
 
right click on sign:
    set {_Line1-Comprar} to "%{FShop::Messages::ComprarSignLine1}%"
    set {_Line4-Comprar} to "%{FShop::Messages::ComprarSignLine4}%"
    set {_Line1-Vender} to "%{FShop::Messages::VenderSignLine1}%"
    set {_Line4-Vender} to "%{FShop::Messages::VenderSignLine4}%"
    line 2 of event-block is set
    line 3 of event-block is set
    if line 1 of event-block is "%{_Line1-Comprar}%":
        line 4 of event-block is "%{_Line4-Comprar}%"
        set {_ItemName} to uncoloured line 2
        set {_item1} to "1 %{_ItemName}%" parsed as item
        set {_item4} to "4 %{_ItemName}%" parsed as item
        set {_item8} to "8 %{_ItemName}%" parsed as item
        set {_item16} to "16 %{_ItemName}%" parsed as item
        set {_item32} to "32 %{_ItemName}%" parsed as item
        set {_item64} to "64 %{_ItemName}%" parsed as item
        set {_price1} to 1*{guild::priceitem::%{_ItemName}%}
        set {_price4} to 4*{guild::priceitem::%{_ItemName}%}
        set {_price8} to 8*{guild::priceitem::%{_ItemName}%}
        set {_price16} to 16*{guild::priceitem::%{_ItemName}%}
        set {_price32} to 32*{guild::priceitem::%{_ItemName}%}
        set {_price64} to 64*{guild::priceitem::%{_ItemName}%}
        wait 1 tick
        set {_menu} to "%{FShop::Messages::ComprarMenuTitle}%"
        set {_color} to "%{FShop::Messages::ComprarMenuText}%"
        open chest with 1 rows named "%{_menu}%" to player
        wait 1 tick
        set slot 1 of player's current inventory to 1 of {_item1} named "%{_color}%Comprar 1x" with lore "&7&oCosts $%{_price1}%"
        set slot 2 of player's current inventory to 4 of {_item4} named "%{_color}%Comprar 4x" with lore "&7&oCosts $%{_price4}%"
        set slot 3 of player's current inventory to 8 of {_item8} named "%{_color}%Comprar 8x" with lore "&7&oCosts $%{_price8}%"
        set slot 4 of player's current inventory to 16 of {_item16} named "%{_color}%Comprar 16x" with lore "&7&oCosts $%{_price16}%"
        set slot 5 of player's current inventory to 32 of {_item32} named "%{_color}%&e&lComprar 32x" with lore "&7&oCosts $%{_price32}%"
        set slot 6 of player's current inventory to 64 of {_item64} named "%{_color}%&e&lComprar 64x" with lore "&7&oCosts $%{_price64}%"
        set slot 8 of player's current inventory to nether star named "&c&lClose" with lore "&7&oClose this Menu"
 
 
    else if line 1 of event-block is "%{_Line1-Vender}%":
        line 4 of event-block is "%{_Line4-Vender}%"
        set {_ItemName} to uncoloured line 2
        set {_item1} to "1 %{_ItemName}%" parsed as item
        set {_item4} to "4 %{_ItemName}%" parsed as item
        set {_item8} to "8 %{_ItemName}%" parsed as item
        set {_item16} to "16 %{_ItemName}%" parsed as item
        set {_item32} to "32 %{_ItemName}%" parsed as item
        set {_item64} to "64 %{_ItemName}%" parsed as item
        set {_price1} to 1*{guild::Venderpriceitem::%{_ItemName}%}
        set {_price4} to 4*{guild::Venderpriceitem::%{_ItemName}%}
        set {_price8} to 8*{guild::Venderpriceitem::%{_ItemName}%}
        set {_price16} to 16*{guild::Venderpriceitem::%{_ItemName}%}
        set {_price32} to 32*{guild::Venderpriceitem::%{_ItemName}%}
        set {_price64} to 64*{guild::Venderpriceitem::%{_ItemName}%}
        wait 1 tick
        set {_menu} to "%{FShop::Messages::VenderMenuTitle}%"
        set {_color} to "%{FShop::Messages::VenderMenuText}%"
        open chest with 1 rows named "%{_menu}%" to player
        wait 1 tick
        set slot 1 of player's current inventory to 1 of {_item1} named "%{_color}%Vender 1x" with lore "&7&oVenders for $%{_price1}%"
        set slot 2 of player's current inventory to 4 of {_item4} named "%{_color}%Vender 4x" with lore "&7&oVenders for $%{_price4}%"
        set slot 3 of player's current inventory to 8 of {_item8} named "%{_color}%Vender 8x" with lore "&7&oVenders for $%{_price8}%"
        set slot 4 of player's current inventory to 16 of {_item16} named "%{_color}%Vender 16x" with lore "&7&oVenders for $%{_price16}%"
        set slot 5 of player's current inventory to 32 of {_item32} named "%{_color}%Vender 32x" with lore "&7&oVenders for $%{_price32}%"
        set slot 6 of player's current inventory to 64 of {_item64} named "%{_color}%Vender 64x" with lore "&7&oVenders for $%{_price64}%"
        set slot 8 of player's current inventory to nether star named "&c&lClose" with lore "&7&oClose this Menu"
      
      
on inventory click:
    set {_Comprarmenu} to "%{FShop::Messages::ComprarMenuTitle}%"
    set {_Vendermenu} to "%{FShop::Messages::VenderMenuTitle}%"
    set {_prefix} to "%{FShop::Messages::GlobalPrefix}%"
    if inventory name of clicked inventory is "%{_Vendermenu}%" or "%{_Comprarmenu}%":
        cancel event
        if clicked slot is 1:
            set {_x} to 1
        else if clicked slot is 2:
            set {_x} to 4
        else if clicked slot is 3:
            set {_x} to 8
        else if clicked slot is 4:
            set {_x} to 16
        else if clicked slot is 5:
            set {_x} to 32
        else if clicked slot is 6:
            set {_x} to 64
        else if clicked slot is 8:
            close player's inventory
        clicked slot is 1 or 2 or 3 or 4 or 5 or 6
        set {_block} to targeted block
        set {_item} to uncoloured line 2 of {_block}
        if inventory name of clicked inventory is "%{_Comprarmenu}%":
            set {_price} to {_x}*{guild::priceitem::%{_item}%}
            invoke "FunnyShopComprar" from player and "%{_item}%" and "%{_x}%" and "%{_price}%"
        else if inventory name of clicked inventory is "%{_Vendermenu}%":
            set {_price} to {_x}*{guild::Venderpriceitem::%{_item}%}
            invoke "FunnyShopVender" from player and "%{_item}%" and "%{_x}%" and "%{_price}%"
      
      
    else if inventory name of clicked inventory is " &7&l» &8&lConfiguration":
        cancel event
        if clicked slot is 10:
            if clicked item is a paper:
                name of clicked item is "&e&l&nMessages & Text Editor"
                invoke "FunnyShopMessages" from player
            else if clicked item is a book:
                name of clicked item is "&6&l&nPrefix&r "
                set {FShop::ChangingText::%uuid of player%} to "GlobalPrefix"
        else if clicked slot is 11:
            if clicked item is a book:
                name of clicked item is "&c&l&nComprar Sign&r &7- &e&l&nInfo&r "
                set {FShop::ChangingText::%uuid of player%} to "ComprarSignLine1"
        else if clicked slot is 12:
            if clicked item is a book:
                name of clicked item is "&c&l&nComprar Sign&r &7- &e&l&nItem Color&r "
                set {FShop::ChangingText::%uuid of player%} to "ComprarSignLine2"
        else if clicked slot is 13:
            if clicked item is a book:
                name of clicked item is "&c&l&nComprar Sign&r &7- &e&l&nMoney Color&r "
                set {FShop::ChangingText::%uuid of player%} to "ComprarSignLine3"
        else if clicked slot is 14:
            if clicked item is a book:
                name of clicked item is "&c&l&nComprar Sign&r &7- &e&l&nClique Aqui&r "
                set {FShop::ChangingText::%uuid of player%} to "ComprarSignLine4"
        else if clicked slot is 15:
            if clicked item is a book:
                name of clicked item is "&a&l&nVender Sign&r &7- &e&l&nInfo&r "
                set {FShop::ChangingText::%uuid of player%} to "VenderSignLine1"
        else if clicked slot is 16:
            if clicked item is a book:
                name of clicked item is "&a&l&nVender Sign&r &7- &e&l&nItem Color&r "
                set {FShop::ChangingText::%uuid of player%} to "VenderSignLine2"
        else if clicked slot is 19:
            if clicked item is a book:
                name of clicked item is "&a&l&nVender Sign&r &7- &e&l&nMoney Color&r "
                set {FShop::ChangingText::%uuid of player%} to "VenderSignLine3"
        else if clicked slot is 20:
            if clicked item is a book:
                name of clicked item is "&a&l&nVender Sign&r &7- &e&l&nClique Aqui&r "
                set {FShop::ChangingText::%uuid of player%} to "VenderSignLine4"
        else if clicked slot is 21:
            if clicked item is a book:
                name of clicked item is "&a&l&nComprar Menu&r &7- &d&l&nTitle&r "
                set {FShop::ChangingText::%uuid of player%} to "ComprarMenuTitle"
        else if clicked slot is 22:
            if clicked item is a book:
                name of clicked item is "&a&l&nVender Menu&r &7- &d&l&nTitle&r "
                set {FShop::ChangingText::%uuid of player%} to "VenderMenuTitle"
        else if clicked slot is 23:
            if clicked item is a book:
                name of clicked item is "&a&l&nComprar Menu&r &7- &b&l&nText Color&r "
                set {FShop::ChangingText::%uuid of player%} to "ComprarMenuText"
        else if clicked slot is 24:
            if clicked item is a book:
                name of clicked item is "&a&l&nVender Menu&r &7- &b&l&nText Color&r "
                set {FShop::ChangingText::%uuid of player%} to "VenderMenuText"
        else if clicked slot is 27:
            clicked item is red glass pane
            name of clicked item is " &c&l« Go Back "
            invoke "FunnyShopCMenu" from player
          
        clicked slot is 10 or 11 or 12 or 13 or 14 or 15 or 16 or 19 or 20 or 21 or 22 or 23 or 24
        clicked item is a book
        close inventory of player
        message "&6&l%{_prefix}% &eWrite the Text you want in the Chat."
  
 
  
on chat:
    {FShop::ChangingText::%uuid of player%} is set
    cancel event
    set {FShop::Messages::%{FShop::ChangingText::%uuid of player%}%} to coloured message
    delete {FShop::ChangingText::%uuid of player%}
    message "%{FShop::Messages::GlobalPrefix}% &8| &aYou've succesfully changed the Text!"
    wait 10 ticks
    open chest with 4 rows named " &7&l» &8&lConfiguration" to player
    invoke "FunnyShopMessages" from player
    set {_x::*} to 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 17, 18, 26, 27, 28, 29, 30, 31, 32, 33, 34 and 35
    loop {_x::*}:
        set slot loop-value of player's current inventory to black stained glass named ""
 
sub "FunnyShopComprar":
    set {_p} to "%parameter 1%" parsed as player
    set {_item} to "%parameter 2%" parsed as item
    set {_ItemName} to "%parameter 2%"
    set {_amount} to "%parameter 3%" parsed as integer
    set {_price} to "%parameter 4%" parsed as integer
    set {_prefix} to "%{FShop::Messages::GlobalPrefix}%"
    if balance of {_p} >= {_price}:
        if {_p} has enough space for {_amount} of {_item}:
            remove {_price} from balance of {_p}
            give {_amount} of {_item} to {_p}
            message "%{_prefix}% &a&lYou've bought &f&l%{_amount}%x %{_ItemName}% &a&lfor &f&l$%{_price}%!" to {_p}
        else:
            message "%{_prefix}% &cYour inventory is full!" to {_p}
    else:
        message "%{_prefix}% &cNot enough money!" to {_p}
 
 
sub "FunnyShopVender":
    set {_p} to "%parameter 1%" parsed as player
    set {_item} to "%parameter 2%" parsed as item
    set {_ItemName} to "%parameter 2%"
    set {_amount} to "%parameter 3%" parsed as integer
    set {_price} to "%parameter 4%" parsed as integer
    set {_prefix} to "%{FShop::Messages::GlobalPrefix}%"
    set {_ItemSize} to amount of {_item} in {_p}'s inventory
    if {_ItemSize} >= {_amount}:
        add {_price} to balance of {_p}
        remove {_amount} of {_item} from {_p}'s inventory
        message "%{_prefix}% &a&lYou've sold &f&l%{_amount}%x %{_ItemName}% &a&lfor &f&l$%{_price}%!" to {_p}
    else:
        message "%{_prefix}% &cYou haven't got %{_amount}%x %{_ItemName}%!" to {_p}
      
sub "FunnyShopCMenu":
    set {_p} to "%parameter 1%" parsed as player
    if inventory name of {_p}'s current inventory is " &7&l» &8&lConfiguration":
        set {_x1::*} to 10, 11, 12, 13, 14, 15, 16, 19, 20, 21, 22, 23, 24 and 25
        loop {_x1::*}:
            set slot loop-value of {_p}'s current inventory to air
            wait 1 tick
    else:
        open chest with 4 rows named " &7&l» &8&lConfiguration" to {_p}
        wait 2 ticks
        set {_x2::*} to 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 17, 18, 26, 27, 28, 29, 30, 31, 32, 33, 34 and 35
        loop {_x2::*}:
            set slot loop-value of {_p}'s current inventory to black stained glass named ""
    set slot 10 of {_p}'s current inventory to paper named "&e&l&nMessages & Text Editor" with lore " ||&7Clique Aqui to change the messages||&7of this small FunnyShop Script!|| "
    set slot 12 of {_p}'s current inventory to barrier named "&c&l&nComing Soon" with lore " || &7... || "
    set slot 14 of {_p}'s current inventory to barrier named "&c&l&nComing Soon" with lore " || &7... || "
    set slot 16 of {_p}'s current inventory to barrier named "&c&l&nComing Soon" with lore " || &7... || "
    set slot 20 of {_p}'s current inventory to barrier named "&c&l&nComing Soon" with lore " || &7... || "
    set slot 22 of {_p}'s current inventory to barrier named "&c&l&nComing Soon" with lore " || &7... || "
    set slot 24 of {_p}'s current inventory to barrier named "&c&l&nComing Soon" with lore " || &7... || "
  
      
sub "FunnyShopMessages":
    set {_p} to "%parameter 1%" parsed as player
    if slot 10 of {_p}'s current inventory is not air:
        set {_x::*} to 10, 11, 12, 13, 14, 15, 16, 19, 20, 21, 22, 23, 24 and 25
        loop {_x::*}:
            set slot loop-value of {_p}'s current inventory to air
            wait 1 tick
    set slot 10 of {_p}'s current inventory to a book named "&6&l&nPrefix&r " with lore " || &7Current Prefix: || &8» &7'&f%{FShop::Messages::GlobalPrefix}%&7'&r  || "
    set slot 11 of {_p}'s current inventory to a book named "&c&l&nComprar Sign&r &7- &e&l&nInfo&r " with lore " || &7Currently: || &8» &7'&f%{FShop::Messages::ComprarSignLine1}%&7'&r  || "
    set slot 12 of {_p}'s current inventory to a book named "&c&l&nComprar Sign&r &7- &e&l&nItem Color&r " with lore " || &7Currently: || &8» &7'&f%{FShop::Messages::ComprarSignLine2}%Example&7'&r  || "
    set slot 13 of {_p}'s current inventory to a book named "&c&l&nComprar Sign&r &7- &e&l&nMoney Color&r " with lore " || &7Currently: || &8» &7'&f%{FShop::Messages::ComprarSignLine3}%Example&7'&r  || "
    set slot 14 of {_p}'s current inventory to a book named "&c&l&nComprar Sign&r &7- &e&l&nClique Aqui&r " with lore " || &7Currently: || &8» &7'&f%{FShop::Messages::ComprarSignLine4}%&7'&r  || "
    set slot 15 of {_p}'s current inventory to a book named "&a&l&nVender Sign&r &7- &e&l&nInfo&r " with lore " || &7Currently: || &8» &7'&f%{FShop::Messages::VenderSignLine1}%&7'&r  || "
    set slot 16 of {_p}'s current inventory to a book named "&a&l&nVender Sign&r &7- &e&l&nItem Color&r " with lore " || &7Currently: || &8» &7'&f%{FShop::Messages::VenderSignLine2}%Example&7'&r  || "
    set slot 19 of {_p}'s current inventory to a book named "&a&l&nVender Sign&r &7- &e&l&nMoney Color&r " with lore " || &7Currently: || &8» &7'&f%{FShop::Messages::VenderSignLine3}%Example&7'&r  || "
    set slot 20 of {_p}'s current inventory to a book named "&a&l&nVender Sign&r &7- &e&l&nClique Aqui&r " with lore " || &7Currently: || &8» &7'&f%{FShop::Messages::VenderSignLine4}%&7'&r  || "
    set slot 21 of {_p}'s current inventory to a book named "&a&l&nComprar Menu&r &7- &d&l&nTitle&r " with lore " || &7Currently: || &8» &7'&f%{FShop::Messages::ComprarMenuTitle}%&7'&r  || "
    set slot 22 of {_p}'s current inventory to a book named "&a&l&nVender Menu&r &7- &d&l&nTitle&r " with lore " || &7Currently: || &8» &7'&f%{FShop::Messages::VenderMenuTitle}%&7'&r  || "
    set slot 23 of {_p}'s current inventory to a book named "&a&l&nComprar Menu&r &7- &b&l&nText Color&r " with lore " || &7Currently: || &8» &7'&f%{FShop::Messages::ComprarMenuText}%Example&7'&r  || "
    set slot 24 of {_p}'s current inventory to a book named "&a&l&nVender Menu&r &7- &b&l&nText Color&r " with lore " || &7Currently: || &8» &7'&f%{FShop::Messages::VenderMenuText}%Example&7'&r  || "
    wait 3 ticks
    set slot 27 of {_p}'s current inventory to a red glass pane named " &c&l« Go Back "
  
  
command /funnyshop [<text>]:
    permission: fshop.command
    aliases: /fshop
    trigger:
        set {_prefix} to "%{FShop::Messages::GlobalPrefix}%"
        if arg-1 is "help":
            if player has permission "fshop.help":
                message "&8&l&m--------------------------------------" to player
                message " &7»  &6/fshop help &8» &7&oThis little help menu :)" to player
                message " &7»  &6/fshop reload &8» &7&oReload the Script!" to player
                message " &7»  &6/fshop configure &8» &7&oIn-Game configuration!" to player
                message "&8&l&m--------------------------------------" to player
            else:
                message "%{_prefix}% &cYou haven't got the permission for this!"
        else if arg-1 is "configure" or "config" or "c":
            if player has permission "fshop.config":
                invoke "FunnyShopCMenu" from player
            else:
                message "%{_prefix}% &cYou haven't got the permission for this!"

          
        else:
            if player has permission "fshop.help":
                make player execute command "/fshop help"
            else:
                message "%{_prefix}% &cYou haven't got the permission for this!"
 
 
 
#on inventory click:
#    if {guildshop::Compraring::%uuid of player%} is set:
#        if "%click type%" is "SHIFT_LEFT":
#            cancel event
#        if "%click type%" is "SHIFT_RIGHT":
#            cancel event
 
on break of sign:
    set {_Line1-Comprar} to "%{FShop::Messages::ComprarSignLine1}%"
    set {_Line4-Comprar} to "%{FShop::Messages::ComprarSignLine4}%"
    set {_Line1-Vender} to "%{FShop::Messages::VenderSignLine1}%"
    set {_Line4-Vender} to "%{FShop::Messages::VenderSignLine4}%"
    set {_prefix} to "%{FShop::Messages::GlobalPrefix}%"
    line 2 of event-block is set
    line 3 of event-block is set
    if line 1 of event-block is "%{_Line1-Comprar}%":
        line 4 of event-block is "%{_Line4-Comprar}%"
        if player is not sneaking:
            cancel event
            if player has permission "fshop.destroysign":
                message "%{_prefix}% &cYou need to Sneak when you want to destroy a Shop sign!"
        else:
            if player has permission "fshop.destroysign":
                message "%{_prefix}% &a&lYou successfully removed a Shop Sign!"
            else:
                cancel event
    if line 1 of event-block is "%{_Line1-Vender}%":
        line 4 of event-block is "%{_Line4-Vender}%"
        if player is not sneaking:
            cancel event
            if player has permission "fshop.destroysign":
                message "%{_prefix}% &cYou need to Sneak when you want to destroy a Shop sign!"
        else:
            if player has permission "fshop.destroysign":
                message "%{_prefix}% &a&lYou successfully removed a Shop Sign!"
            else:
                cancel event
[doublepost=1586531451,1585715990][/doublepost]Can someone help me?
 
Hello .. Good night! I am in need of help with this .sk I'm running 1.13.2 All adons, and the latest version of skript, it gives the following error:
Code:
[01:38:11 ERROR]: Can't understand this condition/effect: invoke "FunnyShopComprar" from player and "%{_item}%" and "%{_x}%" and "%{_price}%" (novo.sk, line 174: invoke "FunnyShopComprar" from player and "%{_item}%" and "%{_x}%" and "%{_price}%"')
[01:38:11 ERROR]: Can't understand this condition/effect: invoke "FunnyShopVender" from player and "%{_item}%" and "%{_x}%" and "%{_price}%" (novo.sk, line 177: invoke "FunnyShopVender" from player and "%{_item}%" and "%{_x}%" and "%{_price}%"')
[01:38:11 ERROR]: Can't understand this condition/effect: invoke "FunnyShopMessages" from player (novo.sk, line 185: invoke "FunnyShopMessages" from player')
[01:38:11 ERROR]: Can't understand this condition/effect: invoke "FunnyShopCMenu" from player (novo.sk, line 240: invoke "FunnyShopCMenu" from player')
[01:38:11 ERROR]: Can't understand this condition/effect: invoke "FunnyShopMessages" from player (novo.sk, line 257: invoke "FunnyShopMessages" from player')
[01:38:11 ERROR]: Can't understand this condition/effect: invoke "FunnyShopCMenu" from player (novo.sk, line 357: invoke "FunnyShopCMenu" from player')


Here is the skript:

Code:
on script load:    
    if {FShop::Messages::GlobalPrefix} is not set:
        set {FShop::Messages::GlobalPrefix} to "&6&lFunnyShop &8» "
    if {FShop::Messages::ComprarSignLine1} is not set:
        set {FShop::Messages::ComprarSignLine1} to "&4&lComprar Item"
    if {FShop::Messages::ComprarSignLine2} is not set:
        set {FShop::Messages::ComprarSignLine2} to "&0"
    if {FShop::Messages::ComprarSignLine3} is not set:
        set {FShop::Messages::ComprarSignLine3} to "&2&l&o"
    if {FShop::Messages::ComprarSignLine4} is not set:
        set {FShop::Messages::ComprarSignLine4} to "&8&nClique Aqui"
    if {FShop::Messages::VenderSignLine1} is not set:
        set {FShop::Messages::VenderSignLine1} to "&4&lVender Item"
    if {FShop::Messages::VenderSignLine2} is not set:
        set {FShop::Messages::VenderSignLine2} to "&0"
    if {FShop::Messages::VenderSignLine3} is not set:
        set {FShop::Messages::VenderSignLine3} to "&2&l&o"
    if {FShop::Messages::VenderSignLine4} is not set:
        set {FShop::Messages::VenderSignLine4} to "&8&nClique Aqui"
    if {FShop::Messages::ComprarMenuTitle} is not set:
        set {FShop::Messages::ComprarMenuTitle} to "&7» &8&lComprar Item"
    if {FShop::Messages::VenderMenuTitle} is not set:
        set {FShop::Messages::VenderMenuTitle} to "&7» &8&lVender Item"
    if {FShop::Messages::ComprarMenuText} is not set:
        set {FShop::Messages::ComprarMenuText} to "&c&l"
    if {FShop::Messages::VenderMenuText} is not set:
        set {FShop::Messages::VenderMenuText} to "&a&l"
 
 
 
 
on sign change:
    line 1 of event-block is "l" or "l"
    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!"
 
        else if line 2 of event-block is "Vender":
            if player has permission "fshop.Vendersign":
                if line 3 of event-block is not empty:
                    if line 4 of event-block is not empty:
                        set {_Line1} to "%{FShop::Messages::VenderSignLine1}%"
                        set {_Line2} to "%{FShop::Messages::VenderSignLine2}%"
                        set {_Line3} to "%{FShop::Messages::VenderSignLine3}%"
                        set {_Line4} to "%{FShop::Messages::VenderSignLine4}%"
                        set {guild::Vendershopitem::%line 3%} to line 3 parsed as item
                        set {guild::Venderpriceitem::%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 colocar o preço!"
                else:
                    message "%{_prefix}% &cVocê esqueceu de colocar o item!"
            else:
                message "%{_prefix}% &cVocê não tem permissão para isso!"
        else:
            message "%{_prefix}% &cEscreva na segunda linha Vender or Comprar."
    else:
        message "%{_prefix}% &cVocê precisa estar em modo criativo para isso!"
                     
 
right click on sign:
    set {_Line1-Comprar} to "%{FShop::Messages::ComprarSignLine1}%"
    set {_Line4-Comprar} to "%{FShop::Messages::ComprarSignLine4}%"
    set {_Line1-Vender} to "%{FShop::Messages::VenderSignLine1}%"
    set {_Line4-Vender} to "%{FShop::Messages::VenderSignLine4}%"
    line 2 of event-block is set
    line 3 of event-block is set
    if line 1 of event-block is "%{_Line1-Comprar}%":
        line 4 of event-block is "%{_Line4-Comprar}%"
        set {_ItemName} to uncoloured line 2
        set {_item1} to "1 %{_ItemName}%" parsed as item
        set {_item4} to "4 %{_ItemName}%" parsed as item
        set {_item8} to "8 %{_ItemName}%" parsed as item
        set {_item16} to "16 %{_ItemName}%" parsed as item
        set {_item32} to "32 %{_ItemName}%" parsed as item
        set {_item64} to "64 %{_ItemName}%" parsed as item
        set {_price1} to 1*{guild::priceitem::%{_ItemName}%}
        set {_price4} to 4*{guild::priceitem::%{_ItemName}%}
        set {_price8} to 8*{guild::priceitem::%{_ItemName}%}
        set {_price16} to 16*{guild::priceitem::%{_ItemName}%}
        set {_price32} to 32*{guild::priceitem::%{_ItemName}%}
        set {_price64} to 64*{guild::priceitem::%{_ItemName}%}
        wait 1 tick
        set {_menu} to "%{FShop::Messages::ComprarMenuTitle}%"
        set {_color} to "%{FShop::Messages::ComprarMenuText}%"
        open chest with 1 rows named "%{_menu}%" to player
        wait 1 tick
        set slot 1 of player's current inventory to 1 of {_item1} named "%{_color}%Comprar 1x" with lore "&7&oCosts $%{_price1}%"
        set slot 2 of player's current inventory to 4 of {_item4} named "%{_color}%Comprar 4x" with lore "&7&oCosts $%{_price4}%"
        set slot 3 of player's current inventory to 8 of {_item8} named "%{_color}%Comprar 8x" with lore "&7&oCosts $%{_price8}%"
        set slot 4 of player's current inventory to 16 of {_item16} named "%{_color}%Comprar 16x" with lore "&7&oCosts $%{_price16}%"
        set slot 5 of player's current inventory to 32 of {_item32} named "%{_color}%&e&lComprar 32x" with lore "&7&oCosts $%{_price32}%"
        set slot 6 of player's current inventory to 64 of {_item64} named "%{_color}%&e&lComprar 64x" with lore "&7&oCosts $%{_price64}%"
        set slot 8 of player's current inventory to nether star named "&c&lClose" with lore "&7&oClose this Menu"
 
 
    else if line 1 of event-block is "%{_Line1-Vender}%":
        line 4 of event-block is "%{_Line4-Vender}%"
        set {_ItemName} to uncoloured line 2
        set {_item1} to "1 %{_ItemName}%" parsed as item
        set {_item4} to "4 %{_ItemName}%" parsed as item
        set {_item8} to "8 %{_ItemName}%" parsed as item
        set {_item16} to "16 %{_ItemName}%" parsed as item
        set {_item32} to "32 %{_ItemName}%" parsed as item
        set {_item64} to "64 %{_ItemName}%" parsed as item
        set {_price1} to 1*{guild::Venderpriceitem::%{_ItemName}%}
        set {_price4} to 4*{guild::Venderpriceitem::%{_ItemName}%}
        set {_price8} to 8*{guild::Venderpriceitem::%{_ItemName}%}
        set {_price16} to 16*{guild::Venderpriceitem::%{_ItemName}%}
        set {_price32} to 32*{guild::Venderpriceitem::%{_ItemName}%}
        set {_price64} to 64*{guild::Venderpriceitem::%{_ItemName}%}
        wait 1 tick
        set {_menu} to "%{FShop::Messages::VenderMenuTitle}%"
        set {_color} to "%{FShop::Messages::VenderMenuText}%"
        open chest with 1 rows named "%{_menu}%" to player
        wait 1 tick
        set slot 1 of player's current inventory to 1 of {_item1} named "%{_color}%Vender 1x" with lore "&7&oVenders for $%{_price1}%"
        set slot 2 of player's current inventory to 4 of {_item4} named "%{_color}%Vender 4x" with lore "&7&oVenders for $%{_price4}%"
        set slot 3 of player's current inventory to 8 of {_item8} named "%{_color}%Vender 8x" with lore "&7&oVenders for $%{_price8}%"
        set slot 4 of player's current inventory to 16 of {_item16} named "%{_color}%Vender 16x" with lore "&7&oVenders for $%{_price16}%"
        set slot 5 of player's current inventory to 32 of {_item32} named "%{_color}%Vender 32x" with lore "&7&oVenders for $%{_price32}%"
        set slot 6 of player's current inventory to 64 of {_item64} named "%{_color}%Vender 64x" with lore "&7&oVenders for $%{_price64}%"
        set slot 8 of player's current inventory to nether star named "&c&lClose" with lore "&7&oClose this Menu"
     
     
on inventory click:
    set {_Comprarmenu} to "%{FShop::Messages::ComprarMenuTitle}%"
    set {_Vendermenu} to "%{FShop::Messages::VenderMenuTitle}%"
    set {_prefix} to "%{FShop::Messages::GlobalPrefix}%"
    if inventory name of clicked inventory is "%{_Vendermenu}%" or "%{_Comprarmenu}%":
        cancel event
        if clicked slot is 1:
            set {_x} to 1
        else if clicked slot is 2:
            set {_x} to 4
        else if clicked slot is 3:
            set {_x} to 8
        else if clicked slot is 4:
            set {_x} to 16
        else if clicked slot is 5:
            set {_x} to 32
        else if clicked slot is 6:
            set {_x} to 64
        else if clicked slot is 8:
            close player's inventory
        clicked slot is 1 or 2 or 3 or 4 or 5 or 6
        set {_block} to targeted block
        set {_item} to uncoloured line 2 of {_block}
        if inventory name of clicked inventory is "%{_Comprarmenu}%":
            set {_price} to {_x}*{guild::priceitem::%{_item}%}
            invoke "FunnyShopComprar" from player and "%{_item}%" and "%{_x}%" and "%{_price}%"
        else if inventory name of clicked inventory is "%{_Vendermenu}%":
            set {_price} to {_x}*{guild::Venderpriceitem::%{_item}%}
            invoke "FunnyShopVender" from player and "%{_item}%" and "%{_x}%" and "%{_price}%"
     
     
    else if inventory name of clicked inventory is " &7&l» &8&lConfiguration":
        cancel event
        if clicked slot is 10:
            if clicked item is a paper:
                name of clicked item is "&e&l&nMessages & Text Editor"
                invoke "FunnyShopMessages" from player
            else if clicked item is a book:
                name of clicked item is "&6&l&nPrefix&r "
                set {FShop::ChangingText::%uuid of player%} to "GlobalPrefix"
        else if clicked slot is 11:
            if clicked item is a book:
                name of clicked item is "&c&l&nComprar Sign&r &7- &e&l&nInfo&r "
                set {FShop::ChangingText::%uuid of player%} to "ComprarSignLine1"
        else if clicked slot is 12:
            if clicked item is a book:
                name of clicked item is "&c&l&nComprar Sign&r &7- &e&l&nItem Color&r "
                set {FShop::ChangingText::%uuid of player%} to "ComprarSignLine2"
        else if clicked slot is 13:
            if clicked item is a book:
                name of clicked item is "&c&l&nComprar Sign&r &7- &e&l&nMoney Color&r "
                set {FShop::ChangingText::%uuid of player%} to "ComprarSignLine3"
        else if clicked slot is 14:
            if clicked item is a book:
                name of clicked item is "&c&l&nComprar Sign&r &7- &e&l&nClique Aqui&r "
                set {FShop::ChangingText::%uuid of player%} to "ComprarSignLine4"
        else if clicked slot is 15:
            if clicked item is a book:
                name of clicked item is "&a&l&nVender Sign&r &7- &e&l&nInfo&r "
                set {FShop::ChangingText::%uuid of player%} to "VenderSignLine1"
        else if clicked slot is 16:
            if clicked item is a book:
                name of clicked item is "&a&l&nVender Sign&r &7- &e&l&nItem Color&r "
                set {FShop::ChangingText::%uuid of player%} to "VenderSignLine2"
        else if clicked slot is 19:
            if clicked item is a book:
                name of clicked item is "&a&l&nVender Sign&r &7- &e&l&nMoney Color&r "
                set {FShop::ChangingText::%uuid of player%} to "VenderSignLine3"
        else if clicked slot is 20:
            if clicked item is a book:
                name of clicked item is "&a&l&nVender Sign&r &7- &e&l&nClique Aqui&r "
                set {FShop::ChangingText::%uuid of player%} to "VenderSignLine4"
        else if clicked slot is 21:
            if clicked item is a book:
                name of clicked item is "&a&l&nComprar Menu&r &7- &d&l&nTitle&r "
                set {FShop::ChangingText::%uuid of player%} to "ComprarMenuTitle"
        else if clicked slot is 22:
            if clicked item is a book:
                name of clicked item is "&a&l&nVender Menu&r &7- &d&l&nTitle&r "
                set {FShop::ChangingText::%uuid of player%} to "VenderMenuTitle"
        else if clicked slot is 23:
            if clicked item is a book:
                name of clicked item is "&a&l&nComprar Menu&r &7- &b&l&nText Color&r "
                set {FShop::ChangingText::%uuid of player%} to "ComprarMenuText"
        else if clicked slot is 24:
            if clicked item is a book:
                name of clicked item is "&a&l&nVender Menu&r &7- &b&l&nText Color&r "
                set {FShop::ChangingText::%uuid of player%} to "VenderMenuText"
        else if clicked slot is 27:
            clicked item is red glass pane
            name of clicked item is " &c&l« Go Back "
            invoke "FunnyShopCMenu" from player
         
        clicked slot is 10 or 11 or 12 or 13 or 14 or 15 or 16 or 19 or 20 or 21 or 22 or 23 or 24
        clicked item is a book
        close inventory of player
        message "&6&l%{_prefix}% &eWrite the Text you want in the Chat."
 
 
 
on chat:
    {FShop::ChangingText::%uuid of player%} is set
    cancel event
    set {FShop::Messages::%{FShop::ChangingText::%uuid of player%}%} to coloured message
    delete {FShop::ChangingText::%uuid of player%}
    message "%{FShop::Messages::GlobalPrefix}% &8| &aYou've succesfully changed the Text!"
    wait 10 ticks
    open chest with 4 rows named " &7&l» &8&lConfiguration" to player
    invoke "FunnyShopMessages" from player
    set {_x::*} to 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 17, 18, 26, 27, 28, 29, 30, 31, 32, 33, 34 and 35
    loop {_x::*}:
        set slot loop-value of player's current inventory to black stained glass named ""
 
sub "FunnyShopComprar":
    set {_p} to "%parameter 1%" parsed as player
    set {_item} to "%parameter 2%" parsed as item
    set {_ItemName} to "%parameter 2%"
    set {_amount} to "%parameter 3%" parsed as integer
    set {_price} to "%parameter 4%" parsed as integer
    set {_prefix} to "%{FShop::Messages::GlobalPrefix}%"
    if balance of {_p} >= {_price}:
        if {_p} has enough space for {_amount} of {_item}:
            remove {_price} from balance of {_p}
            give {_amount} of {_item} to {_p}
            message "%{_prefix}% &a&lYou've bought &f&l%{_amount}%x %{_ItemName}% &a&lfor &f&l$%{_price}%!" to {_p}
        else:
            message "%{_prefix}% &cYour inventory is full!" to {_p}
    else:
        message "%{_prefix}% &cNot enough money!" to {_p}
 
 
sub "FunnyShopVender":
    set {_p} to "%parameter 1%" parsed as player
    set {_item} to "%parameter 2%" parsed as item
    set {_ItemName} to "%parameter 2%"
    set {_amount} to "%parameter 3%" parsed as integer
    set {_price} to "%parameter 4%" parsed as integer
    set {_prefix} to "%{FShop::Messages::GlobalPrefix}%"
    set {_ItemSize} to amount of {_item} in {_p}'s inventory
    if {_ItemSize} >= {_amount}:
        add {_price} to balance of {_p}
        remove {_amount} of {_item} from {_p}'s inventory
        message "%{_prefix}% &a&lYou've sold &f&l%{_amount}%x %{_ItemName}% &a&lfor &f&l$%{_price}%!" to {_p}
    else:
        message "%{_prefix}% &cYou haven't got %{_amount}%x %{_ItemName}%!" to {_p}
     
sub "FunnyShopCMenu":
    set {_p} to "%parameter 1%" parsed as player
    if inventory name of {_p}'s current inventory is " &7&l» &8&lConfiguration":
        set {_x1::*} to 10, 11, 12, 13, 14, 15, 16, 19, 20, 21, 22, 23, 24 and 25
        loop {_x1::*}:
            set slot loop-value of {_p}'s current inventory to air
            wait 1 tick
    else:
        open chest with 4 rows named " &7&l» &8&lConfiguration" to {_p}
        wait 2 ticks
        set {_x2::*} to 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 17, 18, 26, 27, 28, 29, 30, 31, 32, 33, 34 and 35
        loop {_x2::*}:
            set slot loop-value of {_p}'s current inventory to black stained glass named ""
    set slot 10 of {_p}'s current inventory to paper named "&e&l&nMessages & Text Editor" with lore " ||&7Clique Aqui to change the messages||&7of this small FunnyShop Script!|| "
    set slot 12 of {_p}'s current inventory to barrier named "&c&l&nComing Soon" with lore " || &7... || "
    set slot 14 of {_p}'s current inventory to barrier named "&c&l&nComing Soon" with lore " || &7... || "
    set slot 16 of {_p}'s current inventory to barrier named "&c&l&nComing Soon" with lore " || &7... || "
    set slot 20 of {_p}'s current inventory to barrier named "&c&l&nComing Soon" with lore " || &7... || "
    set slot 22 of {_p}'s current inventory to barrier named "&c&l&nComing Soon" with lore " || &7... || "
    set slot 24 of {_p}'s current inventory to barrier named "&c&l&nComing Soon" with lore " || &7... || "
 
     
sub "FunnyShopMessages":
    set {_p} to "%parameter 1%" parsed as player
    if slot 10 of {_p}'s current inventory is not air:
        set {_x::*} to 10, 11, 12, 13, 14, 15, 16, 19, 20, 21, 22, 23, 24 and 25
        loop {_x::*}:
            set slot loop-value of {_p}'s current inventory to air
            wait 1 tick
    set slot 10 of {_p}'s current inventory to a book named "&6&l&nPrefix&r " with lore " || &7Current Prefix: || &8» &7'&f%{FShop::Messages::GlobalPrefix}%&7'&r  || "
    set slot 11 of {_p}'s current inventory to a book named "&c&l&nComprar Sign&r &7- &e&l&nInfo&r " with lore " || &7Currently: || &8» &7'&f%{FShop::Messages::ComprarSignLine1}%&7'&r  || "
    set slot 12 of {_p}'s current inventory to a book named "&c&l&nComprar Sign&r &7- &e&l&nItem Color&r " with lore " || &7Currently: || &8» &7'&f%{FShop::Messages::ComprarSignLine2}%Example&7'&r  || "
    set slot 13 of {_p}'s current inventory to a book named "&c&l&nComprar Sign&r &7- &e&l&nMoney Color&r " with lore " || &7Currently: || &8» &7'&f%{FShop::Messages::ComprarSignLine3}%Example&7'&r  || "
    set slot 14 of {_p}'s current inventory to a book named "&c&l&nComprar Sign&r &7- &e&l&nClique Aqui&r " with lore " || &7Currently: || &8» &7'&f%{FShop::Messages::ComprarSignLine4}%&7'&r  || "
    set slot 15 of {_p}'s current inventory to a book named "&a&l&nVender Sign&r &7- &e&l&nInfo&r " with lore " || &7Currently: || &8» &7'&f%{FShop::Messages::VenderSignLine1}%&7'&r  || "
    set slot 16 of {_p}'s current inventory to a book named "&a&l&nVender Sign&r &7- &e&l&nItem Color&r " with lore " || &7Currently: || &8» &7'&f%{FShop::Messages::VenderSignLine2}%Example&7'&r  || "
    set slot 19 of {_p}'s current inventory to a book named "&a&l&nVender Sign&r &7- &e&l&nMoney Color&r " with lore " || &7Currently: || &8» &7'&f%{FShop::Messages::VenderSignLine3}%Example&7'&r  || "
    set slot 20 of {_p}'s current inventory to a book named "&a&l&nVender Sign&r &7- &e&l&nClique Aqui&r " with lore " || &7Currently: || &8» &7'&f%{FShop::Messages::VenderSignLine4}%&7'&r  || "
    set slot 21 of {_p}'s current inventory to a book named "&a&l&nComprar Menu&r &7- &d&l&nTitle&r " with lore " || &7Currently: || &8» &7'&f%{FShop::Messages::ComprarMenuTitle}%&7'&r  || "
    set slot 22 of {_p}'s current inventory to a book named "&a&l&nVender Menu&r &7- &d&l&nTitle&r " with lore " || &7Currently: || &8» &7'&f%{FShop::Messages::VenderMenuTitle}%&7'&r  || "
    set slot 23 of {_p}'s current inventory to a book named "&a&l&nComprar Menu&r &7- &b&l&nText Color&r " with lore " || &7Currently: || &8» &7'&f%{FShop::Messages::ComprarMenuText}%Example&7'&r  || "
    set slot 24 of {_p}'s current inventory to a book named "&a&l&nVender Menu&r &7- &b&l&nText Color&r " with lore " || &7Currently: || &8» &7'&f%{FShop::Messages::VenderMenuText}%Example&7'&r  || "
    wait 3 ticks
    set slot 27 of {_p}'s current inventory to a red glass pane named " &c&l« Go Back "
 
 
command /funnyshop [<text>]:
    permission: fshop.command
    aliases: /fshop
    trigger:
        set {_prefix} to "%{FShop::Messages::GlobalPrefix}%"
        if arg-1 is "help":
            if player has permission "fshop.help":
                message "&8&l&m--------------------------------------" to player
                message " &7»  &6/fshop help &8» &7&oThis little help menu :)" to player
                message " &7»  &6/fshop reload &8» &7&oReload the Script!" to player
                message " &7»  &6/fshop configure &8» &7&oIn-Game configuration!" to player
                message "&8&l&m--------------------------------------" to player
            else:
                message "%{_prefix}% &cYou haven't got the permission for this!"
        else if arg-1 is "configure" or "config" or "c":
            if player has permission "fshop.config":
                invoke "FunnyShopCMenu" from player
            else:
                message "%{_prefix}% &cYou haven't got the permission for this!"

         
        else:
            if player has permission "fshop.help":
                make player execute command "/fshop help"
            else:
                message "%{_prefix}% &cYou haven't got the permission for this!"
 
 
 
#on inventory click:
#    if {guildshop::Compraring::%uuid of player%} is set:
#        if "%click type%" is "SHIFT_LEFT":
#            cancel event
#        if "%click type%" is "SHIFT_RIGHT":
#            cancel event
 
on break of sign:
    set {_Line1-Comprar} to "%{FShop::Messages::ComprarSignLine1}%"
    set {_Line4-Comprar} to "%{FShop::Messages::ComprarSignLine4}%"
    set {_Line1-Vender} to "%{FShop::Messages::VenderSignLine1}%"
    set {_Line4-Vender} to "%{FShop::Messages::VenderSignLine4}%"
    set {_prefix} to "%{FShop::Messages::GlobalPrefix}%"
    line 2 of event-block is set
    line 3 of event-block is set
    if line 1 of event-block is "%{_Line1-Comprar}%":
        line 4 of event-block is "%{_Line4-Comprar}%"
        if player is not sneaking:
            cancel event
            if player has permission "fshop.destroysign":
                message "%{_prefix}% &cYou need to Sneak when you want to destroy a Shop sign!"
        else:
            if player has permission "fshop.destroysign":
                message "%{_prefix}% &a&lYou successfully removed a Shop Sign!"
            else:
                cancel event
    if line 1 of event-block is "%{_Line1-Vender}%":
        line 4 of event-block is "%{_Line4-Vender}%"
        if player is not sneaking:
            cancel event
            if player has permission "fshop.destroysign":
                message "%{_prefix}% &cYou need to Sneak when you want to destroy a Shop sign!"
        else:
            if player has permission "fshop.destroysign":
                message "%{_prefix}% &a&lYou successfully removed a Shop Sign!"
            else:
                cancel event
[doublepost=1586531451,1585715990][/doublepost]Can someone help me?

I am sorry, but you are probably going to have to figure this out yourself. This code is super long and I don't think anyone wants to go through a mile of code.
 
Hello .. Good night! I am in need of help with this .sk I'm running 1.13.2 All adons, and the latest version of skript, it gives the following error:
Code:
[01:38:11 ERROR]: Can't understand this condition/effect: invoke "FunnyShopComprar" from player and "%{_item}%" and "%{_x}%" and "%{_price}%" (novo.sk, line 174: invoke "FunnyShopComprar" from player and "%{_item}%" and "%{_x}%" and "%{_price}%"')
[01:38:11 ERROR]: Can't understand this condition/effect: invoke "FunnyShopVender" from player and "%{_item}%" and "%{_x}%" and "%{_price}%" (novo.sk, line 177: invoke "FunnyShopVender" from player and "%{_item}%" and "%{_x}%" and "%{_price}%"')
[01:38:11 ERROR]: Can't understand this condition/effect: invoke "FunnyShopMessages" from player (novo.sk, line 185: invoke "FunnyShopMessages" from player')
[01:38:11 ERROR]: Can't understand this condition/effect: invoke "FunnyShopCMenu" from player (novo.sk, line 240: invoke "FunnyShopCMenu" from player')
[01:38:11 ERROR]: Can't understand this condition/effect: invoke "FunnyShopMessages" from player (novo.sk, line 257: invoke "FunnyShopMessages" from player')
[01:38:11 ERROR]: Can't understand this condition/effect: invoke "FunnyShopCMenu" from player (novo.sk, line 357: invoke "FunnyShopCMenu" from player')


Here is the skript:

Code:
on script load:    
    if {FShop::Messages::GlobalPrefix} is not set:
        set {FShop::Messages::GlobalPrefix} to "&6&lFunnyShop &8» "
    if {FShop::Messages::ComprarSignLine1} is not set:
        set {FShop::Messages::ComprarSignLine1} to "&4&lComprar Item"
    if {FShop::Messages::ComprarSignLine2} is not set:
        set {FShop::Messages::ComprarSignLine2} to "&0"
    if {FShop::Messages::ComprarSignLine3} is not set:
        set {FShop::Messages::ComprarSignLine3} to "&2&l&o"
    if {FShop::Messages::ComprarSignLine4} is not set:
        set {FShop::Messages::ComprarSignLine4} to "&8&nClique Aqui"
    if {FShop::Messages::VenderSignLine1} is not set:
        set {FShop::Messages::VenderSignLine1} to "&4&lVender Item"
    if {FShop::Messages::VenderSignLine2} is not set:
        set {FShop::Messages::VenderSignLine2} to "&0"
    if {FShop::Messages::VenderSignLine3} is not set:
        set {FShop::Messages::VenderSignLine3} to "&2&l&o"
    if {FShop::Messages::VenderSignLine4} is not set:
        set {FShop::Messages::VenderSignLine4} to "&8&nClique Aqui"
    if {FShop::Messages::ComprarMenuTitle} is not set:
        set {FShop::Messages::ComprarMenuTitle} to "&7» &8&lComprar Item"
    if {FShop::Messages::VenderMenuTitle} is not set:
        set {FShop::Messages::VenderMenuTitle} to "&7» &8&lVender Item"
    if {FShop::Messages::ComprarMenuText} is not set:
        set {FShop::Messages::ComprarMenuText} to "&c&l"
    if {FShop::Messages::VenderMenuText} is not set:
        set {FShop::Messages::VenderMenuText} to "&a&l"
 
 
 
 
on sign change:
    line 1 of event-block is "l" or "l"
    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!"
 
        else if line 2 of event-block is "Vender":
            if player has permission "fshop.Vendersign":
                if line 3 of event-block is not empty:
                    if line 4 of event-block is not empty:
                        set {_Line1} to "%{FShop::Messages::VenderSignLine1}%"
                        set {_Line2} to "%{FShop::Messages::VenderSignLine2}%"
                        set {_Line3} to "%{FShop::Messages::VenderSignLine3}%"
                        set {_Line4} to "%{FShop::Messages::VenderSignLine4}%"
                        set {guild::Vendershopitem::%line 3%} to line 3 parsed as item
                        set {guild::Venderpriceitem::%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 colocar o preço!"
                else:
                    message "%{_prefix}% &cVocê esqueceu de colocar o item!"
            else:
                message "%{_prefix}% &cVocê não tem permissão para isso!"
        else:
            message "%{_prefix}% &cEscreva na segunda linha Vender or Comprar."
    else:
        message "%{_prefix}% &cVocê precisa estar em modo criativo para isso!"
                     
 
right click on sign:
    set {_Line1-Comprar} to "%{FShop::Messages::ComprarSignLine1}%"
    set {_Line4-Comprar} to "%{FShop::Messages::ComprarSignLine4}%"
    set {_Line1-Vender} to "%{FShop::Messages::VenderSignLine1}%"
    set {_Line4-Vender} to "%{FShop::Messages::VenderSignLine4}%"
    line 2 of event-block is set
    line 3 of event-block is set
    if line 1 of event-block is "%{_Line1-Comprar}%":
        line 4 of event-block is "%{_Line4-Comprar}%"
        set {_ItemName} to uncoloured line 2
        set {_item1} to "1 %{_ItemName}%" parsed as item
        set {_item4} to "4 %{_ItemName}%" parsed as item
        set {_item8} to "8 %{_ItemName}%" parsed as item
        set {_item16} to "16 %{_ItemName}%" parsed as item
        set {_item32} to "32 %{_ItemName}%" parsed as item
        set {_item64} to "64 %{_ItemName}%" parsed as item
        set {_price1} to 1*{guild::priceitem::%{_ItemName}%}
        set {_price4} to 4*{guild::priceitem::%{_ItemName}%}
        set {_price8} to 8*{guild::priceitem::%{_ItemName}%}
        set {_price16} to 16*{guild::priceitem::%{_ItemName}%}
        set {_price32} to 32*{guild::priceitem::%{_ItemName}%}
        set {_price64} to 64*{guild::priceitem::%{_ItemName}%}
        wait 1 tick
        set {_menu} to "%{FShop::Messages::ComprarMenuTitle}%"
        set {_color} to "%{FShop::Messages::ComprarMenuText}%"
        open chest with 1 rows named "%{_menu}%" to player
        wait 1 tick
        set slot 1 of player's current inventory to 1 of {_item1} named "%{_color}%Comprar 1x" with lore "&7&oCosts $%{_price1}%"
        set slot 2 of player's current inventory to 4 of {_item4} named "%{_color}%Comprar 4x" with lore "&7&oCosts $%{_price4}%"
        set slot 3 of player's current inventory to 8 of {_item8} named "%{_color}%Comprar 8x" with lore "&7&oCosts $%{_price8}%"
        set slot 4 of player's current inventory to 16 of {_item16} named "%{_color}%Comprar 16x" with lore "&7&oCosts $%{_price16}%"
        set slot 5 of player's current inventory to 32 of {_item32} named "%{_color}%&e&lComprar 32x" with lore "&7&oCosts $%{_price32}%"
        set slot 6 of player's current inventory to 64 of {_item64} named "%{_color}%&e&lComprar 64x" with lore "&7&oCosts $%{_price64}%"
        set slot 8 of player's current inventory to nether star named "&c&lClose" with lore "&7&oClose this Menu"
 
 
    else if line 1 of event-block is "%{_Line1-Vender}%":
        line 4 of event-block is "%{_Line4-Vender}%"
        set {_ItemName} to uncoloured line 2
        set {_item1} to "1 %{_ItemName}%" parsed as item
        set {_item4} to "4 %{_ItemName}%" parsed as item
        set {_item8} to "8 %{_ItemName}%" parsed as item
        set {_item16} to "16 %{_ItemName}%" parsed as item
        set {_item32} to "32 %{_ItemName}%" parsed as item
        set {_item64} to "64 %{_ItemName}%" parsed as item
        set {_price1} to 1*{guild::Venderpriceitem::%{_ItemName}%}
        set {_price4} to 4*{guild::Venderpriceitem::%{_ItemName}%}
        set {_price8} to 8*{guild::Venderpriceitem::%{_ItemName}%}
        set {_price16} to 16*{guild::Venderpriceitem::%{_ItemName}%}
        set {_price32} to 32*{guild::Venderpriceitem::%{_ItemName}%}
        set {_price64} to 64*{guild::Venderpriceitem::%{_ItemName}%}
        wait 1 tick
        set {_menu} to "%{FShop::Messages::VenderMenuTitle}%"
        set {_color} to "%{FShop::Messages::VenderMenuText}%"
        open chest with 1 rows named "%{_menu}%" to player
        wait 1 tick
        set slot 1 of player's current inventory to 1 of {_item1} named "%{_color}%Vender 1x" with lore "&7&oVenders for $%{_price1}%"
        set slot 2 of player's current inventory to 4 of {_item4} named "%{_color}%Vender 4x" with lore "&7&oVenders for $%{_price4}%"
        set slot 3 of player's current inventory to 8 of {_item8} named "%{_color}%Vender 8x" with lore "&7&oVenders for $%{_price8}%"
        set slot 4 of player's current inventory to 16 of {_item16} named "%{_color}%Vender 16x" with lore "&7&oVenders for $%{_price16}%"
        set slot 5 of player's current inventory to 32 of {_item32} named "%{_color}%Vender 32x" with lore "&7&oVenders for $%{_price32}%"
        set slot 6 of player's current inventory to 64 of {_item64} named "%{_color}%Vender 64x" with lore "&7&oVenders for $%{_price64}%"
        set slot 8 of player's current inventory to nether star named "&c&lClose" with lore "&7&oClose this Menu"
     
     
on inventory click:
    set {_Comprarmenu} to "%{FShop::Messages::ComprarMenuTitle}%"
    set {_Vendermenu} to "%{FShop::Messages::VenderMenuTitle}%"
    set {_prefix} to "%{FShop::Messages::GlobalPrefix}%"
    if inventory name of clicked inventory is "%{_Vendermenu}%" or "%{_Comprarmenu}%":
        cancel event
        if clicked slot is 1:
            set {_x} to 1
        else if clicked slot is 2:
            set {_x} to 4
        else if clicked slot is 3:
            set {_x} to 8
        else if clicked slot is 4:
            set {_x} to 16
        else if clicked slot is 5:
            set {_x} to 32
        else if clicked slot is 6:
            set {_x} to 64
        else if clicked slot is 8:
            close player's inventory
        clicked slot is 1 or 2 or 3 or 4 or 5 or 6
        set {_block} to targeted block
        set {_item} to uncoloured line 2 of {_block}
        if inventory name of clicked inventory is "%{_Comprarmenu}%":
            set {_price} to {_x}*{guild::priceitem::%{_item}%}
            invoke "FunnyShopComprar" from player and "%{_item}%" and "%{_x}%" and "%{_price}%"
        else if inventory name of clicked inventory is "%{_Vendermenu}%":
            set {_price} to {_x}*{guild::Venderpriceitem::%{_item}%}
            invoke "FunnyShopVender" from player and "%{_item}%" and "%{_x}%" and "%{_price}%"
     
     
    else if inventory name of clicked inventory is " &7&l» &8&lConfiguration":
        cancel event
        if clicked slot is 10:
            if clicked item is a paper:
                name of clicked item is "&e&l&nMessages & Text Editor"
                invoke "FunnyShopMessages" from player
            else if clicked item is a book:
                name of clicked item is "&6&l&nPrefix&r "
                set {FShop::ChangingText::%uuid of player%} to "GlobalPrefix"
        else if clicked slot is 11:
            if clicked item is a book:
                name of clicked item is "&c&l&nComprar Sign&r &7- &e&l&nInfo&r "
                set {FShop::ChangingText::%uuid of player%} to "ComprarSignLine1"
        else if clicked slot is 12:
            if clicked item is a book:
                name of clicked item is "&c&l&nComprar Sign&r &7- &e&l&nItem Color&r "
                set {FShop::ChangingText::%uuid of player%} to "ComprarSignLine2"
        else if clicked slot is 13:
            if clicked item is a book:
                name of clicked item is "&c&l&nComprar Sign&r &7- &e&l&nMoney Color&r "
                set {FShop::ChangingText::%uuid of player%} to "ComprarSignLine3"
        else if clicked slot is 14:
            if clicked item is a book:
                name of clicked item is "&c&l&nComprar Sign&r &7- &e&l&nClique Aqui&r "
                set {FShop::ChangingText::%uuid of player%} to "ComprarSignLine4"
        else if clicked slot is 15:
            if clicked item is a book:
                name of clicked item is "&a&l&nVender Sign&r &7- &e&l&nInfo&r "
                set {FShop::ChangingText::%uuid of player%} to "VenderSignLine1"
        else if clicked slot is 16:
            if clicked item is a book:
                name of clicked item is "&a&l&nVender Sign&r &7- &e&l&nItem Color&r "
                set {FShop::ChangingText::%uuid of player%} to "VenderSignLine2"
        else if clicked slot is 19:
            if clicked item is a book:
                name of clicked item is "&a&l&nVender Sign&r &7- &e&l&nMoney Color&r "
                set {FShop::ChangingText::%uuid of player%} to "VenderSignLine3"
        else if clicked slot is 20:
            if clicked item is a book:
                name of clicked item is "&a&l&nVender Sign&r &7- &e&l&nClique Aqui&r "
                set {FShop::ChangingText::%uuid of player%} to "VenderSignLine4"
        else if clicked slot is 21:
            if clicked item is a book:
                name of clicked item is "&a&l&nComprar Menu&r &7- &d&l&nTitle&r "
                set {FShop::ChangingText::%uuid of player%} to "ComprarMenuTitle"
        else if clicked slot is 22:
            if clicked item is a book:
                name of clicked item is "&a&l&nVender Menu&r &7- &d&l&nTitle&r "
                set {FShop::ChangingText::%uuid of player%} to "VenderMenuTitle"
        else if clicked slot is 23:
            if clicked item is a book:
                name of clicked item is "&a&l&nComprar Menu&r &7- &b&l&nText Color&r "
                set {FShop::ChangingText::%uuid of player%} to "ComprarMenuText"
        else if clicked slot is 24:
            if clicked item is a book:
                name of clicked item is "&a&l&nVender Menu&r &7- &b&l&nText Color&r "
                set {FShop::ChangingText::%uuid of player%} to "VenderMenuText"
        else if clicked slot is 27:
            clicked item is red glass pane
            name of clicked item is " &c&l« Go Back "
            invoke "FunnyShopCMenu" from player
         
        clicked slot is 10 or 11 or 12 or 13 or 14 or 15 or 16 or 19 or 20 or 21 or 22 or 23 or 24
        clicked item is a book
        close inventory of player
        message "&6&l%{_prefix}% &eWrite the Text you want in the Chat."
 
 
 
on chat:
    {FShop::ChangingText::%uuid of player%} is set
    cancel event
    set {FShop::Messages::%{FShop::ChangingText::%uuid of player%}%} to coloured message
    delete {FShop::ChangingText::%uuid of player%}
    message "%{FShop::Messages::GlobalPrefix}% &8| &aYou've succesfully changed the Text!"
    wait 10 ticks
    open chest with 4 rows named " &7&l» &8&lConfiguration" to player
    invoke "FunnyShopMessages" from player
    set {_x::*} to 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 17, 18, 26, 27, 28, 29, 30, 31, 32, 33, 34 and 35
    loop {_x::*}:
        set slot loop-value of player's current inventory to black stained glass named ""
 
sub "FunnyShopComprar":
    set {_p} to "%parameter 1%" parsed as player
    set {_item} to "%parameter 2%" parsed as item
    set {_ItemName} to "%parameter 2%"
    set {_amount} to "%parameter 3%" parsed as integer
    set {_price} to "%parameter 4%" parsed as integer
    set {_prefix} to "%{FShop::Messages::GlobalPrefix}%"
    if balance of {_p} >= {_price}:
        if {_p} has enough space for {_amount} of {_item}:
            remove {_price} from balance of {_p}
            give {_amount} of {_item} to {_p}
            message "%{_prefix}% &a&lYou've bought &f&l%{_amount}%x %{_ItemName}% &a&lfor &f&l$%{_price}%!" to {_p}
        else:
            message "%{_prefix}% &cYour inventory is full!" to {_p}
    else:
        message "%{_prefix}% &cNot enough money!" to {_p}
 
 
sub "FunnyShopVender":
    set {_p} to "%parameter 1%" parsed as player
    set {_item} to "%parameter 2%" parsed as item
    set {_ItemName} to "%parameter 2%"
    set {_amount} to "%parameter 3%" parsed as integer
    set {_price} to "%parameter 4%" parsed as integer
    set {_prefix} to "%{FShop::Messages::GlobalPrefix}%"
    set {_ItemSize} to amount of {_item} in {_p}'s inventory
    if {_ItemSize} >= {_amount}:
        add {_price} to balance of {_p}
        remove {_amount} of {_item} from {_p}'s inventory
        message "%{_prefix}% &a&lYou've sold &f&l%{_amount}%x %{_ItemName}% &a&lfor &f&l$%{_price}%!" to {_p}
    else:
        message "%{_prefix}% &cYou haven't got %{_amount}%x %{_ItemName}%!" to {_p}
     
sub "FunnyShopCMenu":
    set {_p} to "%parameter 1%" parsed as player
    if inventory name of {_p}'s current inventory is " &7&l» &8&lConfiguration":
        set {_x1::*} to 10, 11, 12, 13, 14, 15, 16, 19, 20, 21, 22, 23, 24 and 25
        loop {_x1::*}:
            set slot loop-value of {_p}'s current inventory to air
            wait 1 tick
    else:
        open chest with 4 rows named " &7&l» &8&lConfiguration" to {_p}
        wait 2 ticks
        set {_x2::*} to 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 17, 18, 26, 27, 28, 29, 30, 31, 32, 33, 34 and 35
        loop {_x2::*}:
            set slot loop-value of {_p}'s current inventory to black stained glass named ""
    set slot 10 of {_p}'s current inventory to paper named "&e&l&nMessages & Text Editor" with lore " ||&7Clique Aqui to change the messages||&7of this small FunnyShop Script!|| "
    set slot 12 of {_p}'s current inventory to barrier named "&c&l&nComing Soon" with lore " || &7... || "
    set slot 14 of {_p}'s current inventory to barrier named "&c&l&nComing Soon" with lore " || &7... || "
    set slot 16 of {_p}'s current inventory to barrier named "&c&l&nComing Soon" with lore " || &7... || "
    set slot 20 of {_p}'s current inventory to barrier named "&c&l&nComing Soon" with lore " || &7... || "
    set slot 22 of {_p}'s current inventory to barrier named "&c&l&nComing Soon" with lore " || &7... || "
    set slot 24 of {_p}'s current inventory to barrier named "&c&l&nComing Soon" with lore " || &7... || "
 
     
sub "FunnyShopMessages":
    set {_p} to "%parameter 1%" parsed as player
    if slot 10 of {_p}'s current inventory is not air:
        set {_x::*} to 10, 11, 12, 13, 14, 15, 16, 19, 20, 21, 22, 23, 24 and 25
        loop {_x::*}:
            set slot loop-value of {_p}'s current inventory to air
            wait 1 tick
    set slot 10 of {_p}'s current inventory to a book named "&6&l&nPrefix&r " with lore " || &7Current Prefix: || &8» &7'&f%{FShop::Messages::GlobalPrefix}%&7'&r  || "
    set slot 11 of {_p}'s current inventory to a book named "&c&l&nComprar Sign&r &7- &e&l&nInfo&r " with lore " || &7Currently: || &8» &7'&f%{FShop::Messages::ComprarSignLine1}%&7'&r  || "
    set slot 12 of {_p}'s current inventory to a book named "&c&l&nComprar Sign&r &7- &e&l&nItem Color&r " with lore " || &7Currently: || &8» &7'&f%{FShop::Messages::ComprarSignLine2}%Example&7'&r  || "
    set slot 13 of {_p}'s current inventory to a book named "&c&l&nComprar Sign&r &7- &e&l&nMoney Color&r " with lore " || &7Currently: || &8» &7'&f%{FShop::Messages::ComprarSignLine3}%Example&7'&r  || "
    set slot 14 of {_p}'s current inventory to a book named "&c&l&nComprar Sign&r &7- &e&l&nClique Aqui&r " with lore " || &7Currently: || &8» &7'&f%{FShop::Messages::ComprarSignLine4}%&7'&r  || "
    set slot 15 of {_p}'s current inventory to a book named "&a&l&nVender Sign&r &7- &e&l&nInfo&r " with lore " || &7Currently: || &8» &7'&f%{FShop::Messages::VenderSignLine1}%&7'&r  || "
    set slot 16 of {_p}'s current inventory to a book named "&a&l&nVender Sign&r &7- &e&l&nItem Color&r " with lore " || &7Currently: || &8» &7'&f%{FShop::Messages::VenderSignLine2}%Example&7'&r  || "
    set slot 19 of {_p}'s current inventory to a book named "&a&l&nVender Sign&r &7- &e&l&nMoney Color&r " with lore " || &7Currently: || &8» &7'&f%{FShop::Messages::VenderSignLine3}%Example&7'&r  || "
    set slot 20 of {_p}'s current inventory to a book named "&a&l&nVender Sign&r &7- &e&l&nClique Aqui&r " with lore " || &7Currently: || &8» &7'&f%{FShop::Messages::VenderSignLine4}%&7'&r  || "
    set slot 21 of {_p}'s current inventory to a book named "&a&l&nComprar Menu&r &7- &d&l&nTitle&r " with lore " || &7Currently: || &8» &7'&f%{FShop::Messages::ComprarMenuTitle}%&7'&r  || "
    set slot 22 of {_p}'s current inventory to a book named "&a&l&nVender Menu&r &7- &d&l&nTitle&r " with lore " || &7Currently: || &8» &7'&f%{FShop::Messages::VenderMenuTitle}%&7'&r  || "
    set slot 23 of {_p}'s current inventory to a book named "&a&l&nComprar Menu&r &7- &b&l&nText Color&r " with lore " || &7Currently: || &8» &7'&f%{FShop::Messages::ComprarMenuText}%Example&7'&r  || "
    set slot 24 of {_p}'s current inventory to a book named "&a&l&nVender Menu&r &7- &b&l&nText Color&r " with lore " || &7Currently: || &8» &7'&f%{FShop::Messages::VenderMenuText}%Example&7'&r  || "
    wait 3 ticks
    set slot 27 of {_p}'s current inventory to a red glass pane named " &c&l« Go Back "
 
 
command /funnyshop [<text>]:
    permission: fshop.command
    aliases: /fshop
    trigger:
        set {_prefix} to "%{FShop::Messages::GlobalPrefix}%"
        if arg-1 is "help":
            if player has permission "fshop.help":
                message "&8&l&m--------------------------------------" to player
                message " &7»  &6/fshop help &8» &7&oThis little help menu :)" to player
                message " &7»  &6/fshop reload &8» &7&oReload the Script!" to player
                message " &7»  &6/fshop configure &8» &7&oIn-Game configuration!" to player
                message "&8&l&m--------------------------------------" to player
            else:
                message "%{_prefix}% &cYou haven't got the permission for this!"
        else if arg-1 is "configure" or "config" or "c":
            if player has permission "fshop.config":
                invoke "FunnyShopCMenu" from player
            else:
                message "%{_prefix}% &cYou haven't got the permission for this!"

         
        else:
            if player has permission "fshop.help":
                make player execute command "/fshop help"
            else:
                message "%{_prefix}% &cYou haven't got the permission for this!"
 
 
 
#on inventory click:
#    if {guildshop::Compraring::%uuid of player%} is set:
#        if "%click type%" is "SHIFT_LEFT":
#            cancel event
#        if "%click type%" is "SHIFT_RIGHT":
#            cancel event
 
on break of sign:
    set {_Line1-Comprar} to "%{FShop::Messages::ComprarSignLine1}%"
    set {_Line4-Comprar} to "%{FShop::Messages::ComprarSignLine4}%"
    set {_Line1-Vender} to "%{FShop::Messages::VenderSignLine1}%"
    set {_Line4-Vender} to "%{FShop::Messages::VenderSignLine4}%"
    set {_prefix} to "%{FShop::Messages::GlobalPrefix}%"
    line 2 of event-block is set
    line 3 of event-block is set
    if line 1 of event-block is "%{_Line1-Comprar}%":
        line 4 of event-block is "%{_Line4-Comprar}%"
        if player is not sneaking:
            cancel event
            if player has permission "fshop.destroysign":
                message "%{_prefix}% &cYou need to Sneak when you want to destroy a Shop sign!"
        else:
            if player has permission "fshop.destroysign":
                message "%{_prefix}% &a&lYou successfully removed a Shop Sign!"
            else:
                cancel event
    if line 1 of event-block is "%{_Line1-Vender}%":
        line 4 of event-block is "%{_Line4-Vender}%"
        if player is not sneaking:
            cancel event
            if player has permission "fshop.destroysign":
                message "%{_prefix}% &cYou need to Sneak when you want to destroy a Shop sign!"
        else:
            if player has permission "fshop.destroysign":
                message "%{_prefix}% &a&lYou successfully removed a Shop Sign!"
            else:
                cancel event
[doublepost=1586531451,1585715990][/doublepost]Can someone help me?
You need Skellet 1.9.6 to do it. If you have Skellet, try doing this:

code_language.skript:
invoke method "FunnyShopComprar" from player and "%{_item}%%new line%%{_x}%%new line%%{_price}%"
I have rarely used the "invoke" effect, so I don't know if this will work for you.
 
Status
Not open for further replies.