D
DsD)Core(
Guest
The general message does appear, but the subchecks for specific commands don't. What am I doing wrong? Thanks..
Code:
Cmd Admin
Events
Player - Player 1 (Red) types a chat message containing -timer as A substring
Player - Player 1 (Red) types a chat message containing -gold as A substring
Player - Player 1 (Red) types a chat message containing -level as A substring
Conditions
(Name of (Triggering player)) Equal to DsD)Core(
Actions
Game - Display to (All players) the text: WARNING: An admin c...
Wait 2.00 seconds
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Entered chat string) Equal to (Substring(-timer , 1, 7))
(Entered chat string) Equal to (Substring(lock, 8, (Length of (Entered chat string))))
Then - Actions
Set CountDown = 501
Game - Display to (All players) the text: Timer has been lock...
Countdown Timer - Destroy (Last created timer window)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Entered chat string) Equal to (Substring(-timer , 1, 7))
(Entered chat string) Equal to (Substring(unlock, 8, (Length of (Entered chat string))))
Then - Actions
Set CountDown = 120
Game - Display to (All players) the text: Timer has been unlo...
Countdown Timer - Start Countdown as a One-shot timer that will expire in 120.00 seconds
Countdown Timer - Create a timer window for Countdown with title |c00FCD116Next roun...
Countdown Timer - Show (Last created timer window)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Entered chat string) Equal to (Substring(-gold , 1, 6))
Then - Actions
Player - Set Player 1 (Red) Current gold to (Integer((Substring((Entered chat string), 7, (Length of (Entered chat string))))))
Game - Display to (All players) the text: (You have set your current gold to + (Substring((Entered chat string), 7, (Length of (Entered chat string)))))
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Entered chat string) Equal to (Substring(-level , 1, 7))
Then - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Integer((Substring((Entered chat string), 8, (Length of (Entered chat string)))))) Less than or equal to 25
Then - Actions
Hero - Set (Last created unit) Hero-level to (Integer((Substring((Entered chat string), 8, (Length of (Entered chat string)))))), Show level-up graphics
Game - Display to (All players) the text: (You have set your hero's level to + (Substring((Entered chat string), 8, (Length of (Entered chat string)))))
Else - Actions
Hero - Set (Last created unit) Hero-level to 25, Show level-up graphics
Else - Actions
Do nothing