Never_Quit
New Member
- Reaction score
- 16
Is it possible to create a trigger that will run user input code using substrings?
Ex:
I think id be pretty cool
Ex:
Trigger:
- Command Line
- Events
- Player - Player 1 (Red) types a chat message containing ~ as A substring
- Conditions
- (Substring((Entered chat string), 1, 1)) Equal to ~
- Actions
- Set code = (Substring((Entered chat string), 2, (Length of (Entered chat string))))
- Custom script: udg_code
- Events
I think id be pretty cool