-name help

General talk about editing, cheating, and deprotecting maps.

Moderator: Cheaters

scout109
Newcomer
Posts: 21
Joined: October 5th, 2007, 8:50 pm

-name help

Post by scout109 »

hey in my map im trying to add a -name feature i got triggers for all color but i dont know how to actully get it working but here is what i have so far

Events
Player - Player 1 (Red) types a chat message containing -name as A substring

Conditions

Actions
Player - Set name of Player 1 (Red) to (Substring(7-endofchat, 1, 5))

i tryed in game didnt work can somone tell me what is wrong and how to fix it please
lyxman
Junior Member
Posts: 25
Joined: December 10th, 2007, 7:54 pm

Re: -name help

Post by lyxman »

NamE
Events
Player - Player 1 (Red) types a chat message containing -name as A substring
Conditions
Actions
Player - Set name of Player 1 (Red) to (Substring((Entered chat string), 7, (Length of (Entered chat string))))
Game - Display to (All players) for 30.00 seconds the text: (Substring((Entered chat string), 7, (Length of (Entered chat string)))) : Displays What you typed