changing names in game

Status
Not open for further replies.
  • Events
    • Player - Player 1 (Red) types a message containing -name as a substring
  • Conditions
  • Actions
    • Set newName = (Entered Chat String)
    • Set newName = Sustring( newName, 7, Lenght(newName) )
    • Player - Set name of (Triggering Player) to newName
That is, whenever a player types the command to change name, it will store the string from the 7th character on ("-name " has 6 chars, so stat from the 7th) and change the name of the player who typed it.
 
ok. i have the event, but i dont know where you can find the first two actions?
i looked all over the actions but the only closest thing i could find was
Player - Set name of Player 1 (Red) to (entered chat string)
or is that it? :confused:
 
Status
Not open for further replies.
Back
Top