- Joined
- May 11, 2012
- Messages
- 2,108
Any Ideas why this trigger won't fire?
-
Music
-
Events
-
Player - Player 1 (Red) types a chat message containing -music as A substring
-
Player - Player 2 (Blue) types a chat message containing -music as A substring
-
Player - Player 3 (Teal) types a chat message containing -music as A substring
-
Player - Player 4 (Purple) types a chat message containing -music as A substring
-
Player - Player 5 (Yellow) types a chat message containing -music as A substring
-
Player - Player 6 (Orange) types a chat message containing -music as A substring
-
Player - Player 7 (Green) types a chat message containing -music as A substring
-
Player - Player 8 (Pink) types a chat message containing -music as A substring
-
-
Conditions
-
Actions
-
Set TempString = (Entered chat string)
-
Set SubString = (Substring(TempString, 6, (Length of TempString)))
-
-------- ----------------------------- Music Orc ----------------------------- --------
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
SubString Equal to orc1
-
-
Then - Actions
-
Custom script: if GetLocalPlayer() == GetTriggerPlayer() then
-
Sound - Stop music Immediately
-
Sound - Play Orc1 <gen>
-
Custom script: endif
-
-
Else - Actions
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
SubString Equal to orc2
-
-
Then - Actions
-
Custom script: if GetLocalPlayer() == GetTriggerPlayer() then
-
Sound - Stop music Immediately
-
Sound - Play Orc2 <gen>
-
Custom script: endif
-
-
Else - Actions
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
SubString Equal to orc3
-
-
Then - Actions
-
Custom script: if GetLocalPlayer() == GetTriggerPlayer() then
-
Sound - Stop music Immediately
-
Sound - Play Orc3 <gen>
-
Custom script: endif
-
-
Else - Actions
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
SubString Equal to orcX1
-
-
Then - Actions
-
Custom script: if GetLocalPlayer() == GetTriggerPlayer() then
-
Sound - Stop music Immediately
-
Sound - Play OrcX1 <gen>
-
Custom script: endif
-
-
Else - Actions
-
-
-------- ----------------------------- Music NightElf ----------------------------- --------
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
SubString Equal to nightelf1
-
-
Then - Actions
-
Custom script: if GetLocalPlayer() == GetTriggerPlayer() then
-
Sound - Stop music Immediately
-
Sound - Play NightElf1 <gen>
-
Custom script: endif
-
-
Else - Actions
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
SubString Equal to nightelf2
-
-
Then - Actions
-
Custom script: if GetLocalPlayer() == GetTriggerPlayer() then
-
Sound - Stop music Immediately
-
Sound - Play NightElf2 <gen>
-
Custom script: endif
-
-
Else - Actions
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
SubString Equal to nightelf3
-
-
Then - Actions
-
Custom script: if GetLocalPlayer() == GetTriggerPlayer() then
-
Sound - Stop music Immediately
-
Sound - Play NightElf3 <gen>
-
Custom script: endif
-
-
Else - Actions
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
SubString Equal to nightelfX1
-
-
Then - Actions
-
Custom script: if GetLocalPlayer() == GetTriggerPlayer() then
-
Sound - Stop music Immediately
-
Sound - Play NightElfX1 <gen>
-
Custom script: endif
-
-
Else - Actions
-
-
-------- ----------------------------- Music Human ----------------------------- --------
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
SubString Equal to human1
-
-
Then - Actions
-
Custom script: if GetLocalPlayer() == GetTriggerPlayer() then
-
Sound - Stop music Immediately
-
Sound - Play Human1 <gen>
-
Custom script: endif
-
-
Else - Actions
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
SubString Equal to human2
-
-
Then - Actions
-
Custom script: if GetLocalPlayer() == GetTriggerPlayer() then
-
Sound - Stop music Immediately
-
Sound - Play Human2 <gen>
-
Custom script: endif
-
-
Else - Actions
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
SubString Equal to human3
-
-
Then - Actions
-
Custom script: if GetLocalPlayer() == GetTriggerPlayer() then
-
Sound - Stop music Immediately
-
Sound - Play Human3 <gen>
-
Custom script: endif
-
-
Else - Actions
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
SubString Equal to humanX1
-
-
Then - Actions
-
Custom script: if GetLocalPlayer() == GetTriggerPlayer() then
-
Sound - Stop music Immediately
-
Sound - Play HumanX1 <gen>
-
Custom script: endif
-
-
Else - Actions
-
-
-------- ----------------------------- Music Undead ----------------------------- --------
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
SubString Equal to undead1
-
-
Then - Actions
-
Custom script: if GetLocalPlayer() == GetTriggerPlayer() then
-
Sound - Stop music Immediately
-
Sound - Play Undead1 <gen>
-
Custom script: endif
-
-
Else - Actions
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
SubString Equal to undead2
-
-
Then - Actions
-
Custom script: if GetLocalPlayer() == GetTriggerPlayer() then
-
Sound - Stop music Immediately
-
Sound - Play Undead2 <gen>
-
Custom script: endif
-
-
Else - Actions
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
SubString Equal to undead3
-
-
Then - Actions
-
Custom script: if GetLocalPlayer() == GetTriggerPlayer() then
-
Sound - Stop music Immediately
-
Sound - Play Undead3 <gen>
-
Custom script: endif
-
-
Else - Actions
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
SubString Equal to undeadX1
-
-
Then - Actions
-
Custom script: if GetLocalPlayer() == GetTriggerPlayer() then
-
Sound - Stop music Immediately
-
Sound - Play UndeadX1 <gen>
-
Custom script: endif
-
-
Else - Actions
-
-
-------- ----------------------------- Music Special ----------------------------- --------
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
SubString Equal to special1
-
-
Then - Actions
-
Custom script: if GetLocalPlayer() == GetTriggerPlayer() then
-
Sound - Stop music Immediately
-
Sound - Play Power_of_the_Horde <gen>
-
Custom script: endif
-
-
Else - Actions
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
SubString Equal to special2
-
-
Then - Actions
-
Custom script: if GetLocalPlayer() == GetTriggerPlayer() then
-
Sound - Stop music Immediately
-
Sound - Play Comradeship <gen>
-
Custom script: endif
-
-
Else - Actions
-
-
-------- ----------------------------- Music Other ----------------------------- --------
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
SubString Equal to other1
-
-
Then - Actions
-
Custom script: if GetLocalPlayer() == GetTriggerPlayer() then
-
Sound - Stop music Immediately
-
Sound - Play ArthasTheme <gen>
-
Custom script: endif
-
-
Else - Actions
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
SubString Equal to other2
-
-
Then - Actions
-
Custom script: if GetLocalPlayer() == GetTriggerPlayer() then
-
Sound - Stop music Immediately
-
Sound - Play BloodElfTheme <gen>
-
Custom script: endif
-
-
Else - Actions
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
SubString Equal to other3
-
-
Then - Actions
-
Custom script: if GetLocalPlayer() == GetTriggerPlayer() then
-
Sound - Stop music Immediately
-
Sound - Play IllidansTheme <gen>
-
Custom script: endif
-
-
Else - Actions
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
SubString Equal to other4
-
-
Then - Actions
-
Custom script: if GetLocalPlayer() == GetTriggerPlayer() then
-
Sound - Stop music Immediately
-
Sound - Play LichKingTheme <gen>
-
Custom script: endif
-
-
Else - Actions
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
SubString Equal to other5
-
-
Then - Actions
-
Custom script: if GetLocalPlayer() == GetTriggerPlayer() then
-
Sound - Stop music Immediately
-
Sound - Play NagaTheme <gen>
-
Custom script: endif
-
-
Else - Actions
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
SubString Equal to other6
-
-
Then - Actions
-
Custom script: if GetLocalPlayer() == GetTriggerPlayer() then
-
Sound - Stop music Immediately
-
Sound - Play PursuitTheme <gen>
-
Custom script: endif
-
-
Else - Actions
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
SubString Equal to other7
-
-
Then - Actions
-
Custom script: if GetLocalPlayer() == GetTriggerPlayer() then
-
Sound - Stop music Immediately
-
Sound - Play War2IntroMusic <gen>
-
Custom script: endif
-
-
Else - Actions
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
SubString Equal to other8
-
-
Then - Actions
-
Custom script: if GetLocalPlayer() == GetTriggerPlayer() then
-
Sound - Stop music Immediately
-
Sound - Play Credits <gen>
-
Custom script: endif
-
-
Else - Actions
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
SubString Equal to other9
-
-
Then - Actions
-
Custom script: if GetLocalPlayer() == GetTriggerPlayer() then
-
Sound - Stop music Immediately
-
Sound - Play DarkAgents <gen>
-
Custom script: endif
-
-
Else - Actions
-
-
-------- ----------------------------- Music Random ----------------------------- --------
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
SubString Equal to random
-
-
Then - Actions
-
Set RandomNumber = (Random integer number between 1 and 26)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
RandomNumber Equal to 1
-
-
Then - Actions
-
Custom script: if GetLocalPlayer() == GetTriggerPlayer() then
-
Sound - Stop music Immediately
-
Sound - Play Orc1 <gen>
-
Custom script: endif
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
RandomNumber Equal to 2
-
-
Then - Actions
-
Custom script: if GetLocalPlayer() == GetTriggerPlayer() then
-
Sound - Stop music Immediately
-
Sound - Play Orc2 <gen>
-
Custom script: endif
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
RandomNumber Equal to 3
-
-
Then - Actions
-
Custom script: if GetLocalPlayer() == GetTriggerPlayer() then
-
Sound - Stop music Immediately
-
Sound - Play Orc3 <gen>
-
Custom script: endif
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
RandomNumber Equal to 4
-
-
Then - Actions
-
Custom script: if GetLocalPlayer() == GetTriggerPlayer() then
-
Sound - Stop music Immediately
-
Sound - Play OrcX1 <gen>
-
Custom script: endif
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
RandomNumber Equal to 5
-
-
Then - Actions
-
Custom script: if GetLocalPlayer() == GetTriggerPlayer() then
-
Sound - Stop music Immediately
-
Sound - Play Power_of_the_Horde <gen>
-
Custom script: endif
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
RandomNumber Equal to 6
-
-
Then - Actions
-
Custom script: if GetLocalPlayer() == GetTriggerPlayer() then
-
Sound - Stop music Immediately
-
Sound - Play PursuitTheme <gen>
-
Custom script: endif
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
RandomNumber Equal to 7
-
-
Then - Actions
-
Custom script: if GetLocalPlayer() == GetTriggerPlayer() then
-
Sound - Stop music Immediately
-
Sound - Play Undead1 <gen>
-
Custom script: endif
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
RandomNumber Equal to 8
-
-
Then - Actions
-
Custom script: if GetLocalPlayer() == GetTriggerPlayer() then
-
Sound - Stop music Immediately
-
Sound - Play Undead2 <gen>
-
Custom script: endif
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
RandomNumber Equal to 9
-
-
Then - Actions
-
Custom script: if GetLocalPlayer() == GetTriggerPlayer() then
-
Sound - Stop music Immediately
-
Sound - Play Undead3 <gen>
-
Custom script: endif
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
RandomNumber Equal to 10
-
-
Then - Actions
-
Custom script: if GetLocalPlayer() == GetTriggerPlayer() then
-
Sound - Stop music Immediately
-
Sound - Play UndeadX1 <gen>
-
Custom script: endif
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
RandomNumber Equal to 11
-
-
Then - Actions
-
Custom script: if GetLocalPlayer() == GetTriggerPlayer() then
-
Sound - Stop music Immediately
-
Sound - Play War2IntroMusic <gen>
-
Custom script: endif
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
RandomNumber Equal to 12
-
-
Then - Actions
-
Custom script: if GetLocalPlayer() == GetTriggerPlayer() then
-
Sound - Stop music Immediately
-
Sound - Play ArthasTheme <gen>
-
Custom script: endif
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
RandomNumber Equal to 13
-
-
Then - Actions
-
Custom script: if GetLocalPlayer() == GetTriggerPlayer() then
-
Sound - Stop music Immediately
-
Sound - Play BloodElfTheme <gen>
-
Custom script: endif
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
RandomNumber Equal to 14
-
-
Then - Actions
-
Custom script: if GetLocalPlayer() == GetTriggerPlayer() then
-
Sound - Stop music Immediately
-
Sound - Play Credits <gen>
-
Custom script: endif
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
RandomNumber Equal to 15
-
-
Then - Actions
-
Custom script: if GetLocalPlayer() == GetTriggerPlayer() then
-
Sound - Stop music Immediately
-
Sound - Play DarkAgents <gen>
-
Custom script: endif
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
RandomNumber Equal to 16
-
-
Then - Actions
-
Custom script: if GetLocalPlayer() == GetTriggerPlayer() then
-
Sound - Stop music Immediately
-
Sound - Play Human1 <gen>
-
Custom script: endif
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
RandomNumber Equal to 17
-
-
Then - Actions
-
Custom script: if GetLocalPlayer() == GetTriggerPlayer() then
-
Sound - Stop music Immediately
-
Sound - Play Human2 <gen>
-
Custom script: endif
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
RandomNumber Equal to 18
-
-
Then - Actions
-
Custom script: if GetLocalPlayer() == GetTriggerPlayer() then
-
Sound - Stop music Immediately
-
Sound - Play Human3 <gen>
-
Custom script: endif
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
RandomNumber Equal to 19
-
-
Then - Actions
-
Custom script: if GetLocalPlayer() == GetTriggerPlayer() then
-
Sound - Stop music Immediately
-
Sound - Play HumanX1 <gen>
-
Custom script: endif
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
RandomNumber Equal to 20
-
-
Then - Actions
-
Custom script: if GetLocalPlayer() == GetTriggerPlayer() then
-
Sound - Stop music Immediately
-
Sound - Play IllidansTheme <gen>
-
Custom script: endif
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
RandomNumber Equal to 21
-
-
Then - Actions
-
Custom script: if GetLocalPlayer() == GetTriggerPlayer() then
-
Sound - Stop music Immediately
-
Sound - Play LichKingTheme <gen>
-
Custom script: endif
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
RandomNumber Equal to 22
-
-
Then - Actions
-
Custom script: if GetLocalPlayer() == GetTriggerPlayer() then
-
Sound - Stop music Immediately
-
Sound - Play NagaTheme <gen>
-
Custom script: endif
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
RandomNumber Equal to 23
-
-
Then - Actions
-
Custom script: if GetLocalPlayer() == GetTriggerPlayer() then
-
Sound - Stop music Immediately
-
Sound - Play NightElf1 <gen>
-
Custom script: endif
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
RandomNumber Equal to 24
-
-
Then - Actions
-
Custom script: if GetLocalPlayer() == GetTriggerPlayer() then
-
Sound - Stop music Immediately
-
Sound - Play NightElf2 <gen>
-
Custom script: endif
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
RandomNumber Equal to 25
-
-
Then - Actions
-
Custom script: if GetLocalPlayer() == GetTriggerPlayer() then
-
Sound - Stop music Immediately
-
Sound - Play NightElf3 <gen>
-
Custom script: endif
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
RandomNumber Equal to 26
-
-
Then - Actions
-
Custom script: if GetLocalPlayer() == GetTriggerPlayer() then
-
Sound - Stop music Immediately
-
Sound - Play NightElfX1 <gen>
-
Custom script: endif
-
-
Else - Actions
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Else - Actions
-
-
-------- ----------------------------- Music Off ----------------------------- --------
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
SubString Equal to off
-
-
Then - Actions
-
Custom script: if GetLocalPlayer() == GetTriggerPlayer() then
-
Sound - Stop music Immediately
-
Custom script: endif
-
-
Else - Actions
-
-
Set TempString = <Empty String>
-
Set SubString = <Empty String>
-
-