• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

Problem with marketplace

Not open for further replies.
Level 2
Sep 1, 2014
Hey guys,
I have a problem with my marketplace. I took a Goblin Marketplace removed a few items. Then I have created this trigger:

  • CommandTest
    • Ereignisse
      • Spieler - Spieler 1 (Rot) types a chat message containing - as Ein Teil-String
    • Bedingungen
      • (Substring((Entered chat string), 1, 1)) Gleich -
    • Aktionen
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • 'IF'-Bedingungen
          • (Substring((Entered chat string), 2, 4)) Gleich add
        • 'THEN'-Aktionen
          • Neutrales Gebäude - Add Krone der Könige +5 to Goblin-Laden 0033 <gen> with 0 in stock and a max stock of 2
          • Spiel - Display to (All players) the text: Item added.
        • 'ELSE'-Aktionen
          • Spiel - Display to (All players) the text: Wrong command.
But when I use the command no item is added although it is showing the message "Item added". I tried a few things but i can't find a reason for the problem.
Thank you
Not open for further replies.