- Joined
- Jun 10, 2005
- Messages
- 12
Im trying to create a trigger that will take the players chat string's and get the number entered after a substring.
Example:
-spawn 15
How can i get the trigger to get the number (15) that the player enters.
I started with "a player types a chat message containing "-spawn" as a substring" but after that i have no idea where to go, i looked threw most integer events and didnt find anything that looked to be what i was looking for, any help is greatly appreciated, thanks in advance
Example:
-spawn 15
How can i get the trigger to get the number (15) that the player enters.
I started with "a player types a chat message containing "-spawn" as a substring" but after that i have no idea where to go, i looked threw most integer events and didnt find anything that looked to be what i was looking for, any help is greatly appreciated, thanks in advance