I'm making a map which alows you to create your own name for chat messages (not like DoBrp or MRP) so far i have:
Event:
player 1 (red) types a chat message containing -name as a substring.
Conditions:
-none-
Actions:
Set p1_name to (entered chat string)
Set name of Player 1 (red) to (p1_name)
Thats the trigger but then when i test it in map and enter (for example) -name Bob. Then type again the name of the player is:
-name Bob
And i need to know how to get rid of the '-name' part
Please help me, i will include you in helpers section of map!
Event:
player 1 (red) types a chat message containing -name as a substring.
Conditions:
-none-
Actions:
Set p1_name to (entered chat string)
Set name of Player 1 (red) to (p1_name)
Thats the trigger but then when i test it in map and enter (for example) -name Bob. Then type again the name of the player is:
-name Bob
And i need to know how to get rid of the '-name' part
Please help me, i will include you in helpers section of map!


