• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[Trigger] bugged trigger

Status
Not open for further replies.
Level 5
Joined
Mar 21, 2007
Messages
155
hi, i seem to have a trigger that dosen't work. this is just one of the many i have for all the players. its for allying people. can someone help me?

  • p1 ally
    • Events
      • Player - Player 1 (Red) types a chat message containing -ally as A substring
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Entered chat string) Equal to (Substring(blue, 7, 10))
        • Then - Actions
          • Player - Make Player 1 (Red) treat Player 2 (Blue) as an Ally
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Entered chat string) Equal to (Substring(teal, 7, 10))
        • Then - Actions
          • Player - Make Player 1 (Red) treat Player 3 (Teal) as an Ally
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Entered chat string) Equal to (Substring(purple, 7, 12))
        • Then - Actions
          • Player - Make Player 1 (Red) treat Player 4 (Purple) as an Ally
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Entered chat string) Equal to (Substring(yellow, 7, 12))
        • Then - Actions
          • Player - Make Player 1 (Red) treat Player 5 (Yellow) as an Ally
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Entered chat string) Equal to (Substring(orange, 7, 12))
        • Then - Actions
          • Player - Make Player 1 (Red) treat Player 6 (Orange) as an Ally
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Entered chat string) Equal to (Substring(green, 7, 11))
        • Then - Actions
          • Player - Make Player 1 (Red) treat Player 7 (Green) as an Ally
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Entered chat string) Equal to (Substring(pink, 7, 10))
        • Then - Actions
          • Player - Make Player 1 (Red) treat Player 8 (Pink) as an Ally
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Entered chat string) Equal to (Substring(gray, 7, 10))
        • Then - Actions
          • Player - Make Player 1 (Red) treat Player 9 (Gray) as an Ally
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Entered chat string) Equal to (Substring(light blue, 7, 16))
        • Then - Actions
          • Player - Make Player 1 (Red) treat Player 10 (Light Blue) as an Ally
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Entered chat string) Equal to (Substring(dark green, 7, 16))
        • Then - Actions
          • Player - Make Player 1 (Red) treat Player 11 (Dark Green) as an Ally
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Entered chat string) Equal to (Substring(brown, 7, 11))
        • Then - Actions
          • Player - Make Player 1 (Red) treat Player 12 (Brown) as an Ally
        • Else - Actions

help please, ty
 
Last edited by a moderator:
Status
Not open for further replies.
Top