HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

-name comand?

08-20-2011, 09:32 PM#1
whitefang
How would i do the -name comand. meaning a player types -name (name here) and it changes the name of the player? Please Show me how to make the trigger. Thanks!
08-20-2011, 10:10 PM#2
Anitarf
Trigger:
NameChanger
Collapse Events
Player - Player 1 (Red) types a chat message containing -name as A substring
Player - Player 2 (Blue) types a chat message containing -name as A substring
Player - Player 3 (Teal) types a chat message containing -name as A substring
Player - Player 4 (Purple) types a chat message containing -name as A substring
Player - Player 5 (Yellow) types a chat message containing -name as A substring
Player - Player 6 (Orange) types a chat message containing -name as A substring
Player - Player 7 (Green) types a chat message containing -name as A substring
Player - Player 8 (Pink) types a chat message containing -name as A substring
Player - Player 9 (Gray) types a chat message containing -name as A substring
Player - Player 10 (Light Blue) types a chat message containing -name as A substring
Player - Player 11 (Dark Green) types a chat message containing -name as A substring
Player - Player 12 (Brown) types a chat message containing -name as A substring
Conditions
Collapse Actions
Player - Set name of (Triggering player) to (Substring((Entered chat string), 7, (Length of (Entered chat string))))
08-21-2011, 12:24 AM#3
wyrmlord
"An exact match" should be changed to "as a substring" since -name is only part of the desired string to be entered.
08-21-2011, 08:32 AM#4
Anitarf
Quote:
Originally Posted by wyrmlord
"An exact match" should be changed to "as a substring" since -name is only part of the desired string to be entered.
You are correct, I made a mistake there. Been a while since I did anything in GUI. I fixed it now.