killbuzz
Member
- Reaction score
- 9
Hello, I was wondering how do i make it so if a player types something like "-name Billy" their name changes to Billy?
I know that much but i need to get like a variable or something so it knows what to change the players name to....Use the action Player-Set Player Name.
Trigger
Events
Player - Player 1 (Red) types a chat message containing -name as A substring
Conditions
(Substring((Entered chat string), 1, 6)) Equal to -name //make sure theres a space after -name here
Actions
Player - Set name of Player 1 (Red) to (Substring((Entered chat string), 7, (Length of (Entered chat string))))