Players changing their names

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?
 

Squishy

You can change this now in User CP.
Reaction score
127
Code:
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))))
 

killbuzz

Member
Reaction score
9
alright ill try that now thanks in advance :)

EDIT: just testied it and it works thanks man! XD
 

Romek

Super Moderator
Reaction score
964
Just add events for all 12 players [or however many there are]
and make it 'Change name of triggering player'

:D
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top