DiDdY
New Member
- Reaction score
- 14
Hello, TheHelper.Net users.
Today, I present to you my problem:
Each player needs his own name. The name cannot be done via a name changing system (for chat system purposes) and I cannot use the default name.
Therefore, I need a system. A system, that will generate a name for each of the players at the start of the game, to go in this code:
Or another players code. As you can see, in this code, I have used Regiment Commander, Sergeant Johnson, but how would I go randomly generating a name in this sport?
Unless, there is a way of altering that chat system, so you can't see chat in the Chatlog?
Today, I present to you my problem:
Each player needs his own name. The name cannot be done via a name changing system (for chat system purposes) and I cannot use the default name.
Therefore, I need a system. A system, that will generate a name for each of the players at the start of the game, to go in this code:
Code:
P1
Events
Player - Player 1 (Red) types a chat message containing <Empty String> as A substring
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Substring((Entered chat string), 1, 1)) Not equal to :
Then - Actions
Game - Display to (All players) the text: (((|cFFC00000 + Regiment Commander, Sergeant Johnson) + Global|r: ) + (Substring((Entered chat string), 1, 50)))
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Substring((Entered chat string), 1, 1)) Equal to :
Then - Actions
Game - Display to TeamOne[1] the text: (((|cFFC00000 + Sergeant Johnson) + Team|r: ) + (Substring((Entered chat string), 2, 50)))
Else - Actions
Or another players code. As you can see, in this code, I have used Regiment Commander, Sergeant Johnson, but how would I go randomly generating a name in this sport?
Unless, there is a way of altering that chat system, so you can't see chat in the Chatlog?