Hey guys,
I have a problem with my marketplace. I took a Goblin Marketplace removed a few items. Then I have created this trigger:
Thank you
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.
-
'IF'-Bedingungen
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Ereignisse
Thank you