TomTTT
New Member
- Reaction score
- 44
!~Solved~!
I wanted to try disabling cheats such as greedisgood in case you play in single, so I made kinda simple trigger, and the problem is that it won't even shoot - I mean it just won't start, even the message is not displayed. I tried if or without the conditions, still won't work... Help?
I wanted to try disabling cheats such as greedisgood in case you play in single, so I made kinda simple trigger, and the problem is that it won't even shoot - I mean it just won't start, even the message is not displayed. I tried if or without the conditions, still won't work... Help?
Trigger:
- greedisgood
- Events
- Player - Player 1 (Red) types a chat message containing greedisgood as A substring
- Player - Player 2 (Blue) types a chat message containing greedisgood as A substring
- Player - Player 3 (Teal) types a chat message containing greedisgood as A substring
- Conditions
- (Substring((Entered chat string), 1, 11)) Equal to greedisgood
- Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Substring((Entered chat string), 13, 13)) Not equal to -
- Then - Actions
- Set tmpString = (Substring((Entered chat string), 13, (Length of (Entered chat string))))
- Game - Display to (Player group((Triggering player))) for 3.00 seconds the text: (Please don't cheat! + (tmpString + gold is taken back from you.))
- Player - Add (-1 x (Integer(tmpString))) to (Triggering player) Current gold
- Player - Add (-1 x (Integer(tmpString))) to (Triggering player) Current lumber
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Events