Mute
Events
Player - Player 1 (Red) types a chat message containing <Empty String> as A substring
Conditions
Or - Any (Conditions) are true
Conditions
(Substring((Entered chat string), 1, 6)) Equal to -mute
(Substring((Entered chat string), 1, 6)) Equal to -Mute
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Or - Any (Conditions) are true
Conditions
(Substring((Entered chat string), 7, 10)) Equal to blue
(Substring((Entered chat string), 7, 10)) Equal to Blue
Then - Actions
Set TempInteger = 4
Set Player = Player 2 (Blue)
Set ColorName = Blue
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Or - Any (Conditions) are true
Conditions
(Substring((Entered chat string), 7, 10)) Equal to teal
(Substring((Entered chat string), 7, 10)) Equal to Teal
Then - Actions
Set TempInteger = 4
Set Player = Player 3 (Teal)
Set ColorName = Teal
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Or - Any (Conditions) are true
Conditions
(Substring((Entered chat string), 7, 12)) Equal to purple
(Substring((Entered chat string), 7, 12)) Equal to Purple
Then - Actions
Set TempInteger = 6
Set Player = Player 4 (Purple)
Set ColorName = Purple
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Or - Any (Conditions) are true
Conditions
(Substring((Entered chat string), 7, 12)) Equal to yellow
(Substring((Entered chat string), 7, 12)) Equal to Yellow
Then - Actions
Set TempInteger = 6
Set Player = Player 5 (Yellow)
Set ColorName = Yellow
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Or - Any (Conditions) are true
Conditions
(Substring((Entered chat string), 7, 12)) Equal to orange
(Substring((Entered chat string), 7, 12)) Equal to Orange
Then - Actions
Set TempInteger = 6
Set Player = Player 6 (Orange)
Set ColorName = Orange
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Or - Any (Conditions) are true
Conditions
(Substring((Entered chat string), 7, 11)) Equal to green
(Substring((Entered chat string), 7, 11)) Equal to Green
Then - Actions
Set TempInteger = 5
Set Player = Player 7 (Green)
Set ColorName = Green
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Or - Any (Conditions) are true
Conditions
(Substring((Entered chat string), 7, 10)) Equal to pink
(Substring((Entered chat string), 7, 10)) Equal to Pink
Then - Actions
Set TempInteger = 4
Set Player = Player 8 (Pink)
Set ColorName = Pink
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Or - Any (Conditions) are true
Conditions
(Substring((Entered chat string), 7, 10)) Equal to gray
(Substring((Entered chat string), 7, 10)) Equal to Gray
(Substring((Entered chat string), 7, 10)) Equal to grey
(Substring((Entered chat string), 7, 10)) Equal to Grey
Then - Actions
Set TempInteger = 4
Set Player = Player 9 (Gray)
Set ColorName = Gray
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Or - Any (Conditions) are true
Conditions
(Substring((Entered chat string), 7, 16)) Equal to Light blue
(Substring((Entered chat string), 7, 16)) Equal to light blue
(Substring((Entered chat string), 7, 16)) Equal to Light Blue
(Substring((Entered chat string), 7, 16)) Equal to light Blue
Then - Actions
Set TempInteger = 10
Set Player = Player 10 (Light Blue)
Set ColorName = Light Blue
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Or - Any (Conditions) are true
Conditions
(Substring((Entered chat string), 7, 16)) Equal to Dark green
(Substring((Entered chat string), 7, 16)) Equal to dark green
(Substring((Entered chat string), 7, 16)) Equal to Dark Green
(Substring((Entered chat string), 7, 16)) Equal to dark green
Then - Actions
Set TempInteger = 10
Set Player = Player 11 (Dark Green)
Set ColorName = Dark Green
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Or - Any (Conditions) are true
Conditions
(Substring((Entered chat string), 7, 11)) Equal to brown
(Substring((Entered chat string), 7, 11)) Equal to Brown
Then - Actions
Set TempInteger = 5
Set Player = Player 12 (Brown)
Set ColorName = Brown
Else - Actions
Set PlayerName[(Player number of Player)] = (Name of Player)
Set MuteTime[(Player number of Player)] = (Integer((Substring((Entered chat string), (8 + TempInteger), (Length of (Entered chat string))))))
Player - Set name of Player to ( + (Name of Player))
Game - Display to (All players) for 10.00 seconds the text: ((Name of (Triggering player)) + ( has muted + (ColorName + ( for + ((String(MuteTime[(Player number of Player)])) + seconds.)))))