- Joined
- Mar 31, 2009
- Messages
- 1,397
Updating an old sheep tag I like, and noticed maker did some crap triggering, I've managed to make some of them less crappy and would like a review of two triggers I think I may have messed up.
Also chose GUI for beta because easier to modify.
Also chose GUI for beta because easier to modify.
-
UniversalText
-
Events
-
Player - Player 1 (Red) types a chat message containing - as A substring
-
Player - Player 2 (Blue) types a chat message containing - as A substring
-
Player - Player 3 (Teal) types a chat message containing - as A substring
-
Player - Player 4 (Purple) types a chat message containing - as A substring
-
Player - Player 5 (Yellow) types a chat message containing - as A substring
-
Player - Player 6 (Orange) types a chat message containing - as A substring
-
Player - Player 7 (Green) types a chat message containing - as A substring
-
Player - Player 8 (Pink) types a chat message containing - as A substring
-
Player - Player 9 (Gray) types a chat message containing - as A substring
-
Player - Player 10 (Light Blue) types a chat message containing - as A substring
-
Player - Player 11 (Dark Green) types a chat message containing - as A substring
-
Player - Player 12 (Brown) types a chat message containing - as A substring
-
-
Conditions
-
Actions
-
-------- Boot Function --------
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Triggering player) Equal to Player 1 (Red)
-
-
Then - Actions
-
If (((Entered chat string) Equal to -kick blue) or (((Entered chat string) Equal to -boot blue) or ((Entered chat string) Equal to -ban blue))) then do (Game - Defeat Player 2 (Blue) with the message: You were disconnect...) else do (Do nothing)
-
If (((Entered chat string) Equal to -kick teal) or (((Entered chat string) Equal to -boot teal) or ((Entered chat string) Equal to -ban teal))) then do (Game - Defeat Player 3 (Teal) with the message: You were disconnect...) else do (Do nothing)
-
If (((Entered chat string) Equal to -kick purple) or (((Entered chat string) Equal to -boot purple) or ((Entered chat string) Equal to -ban purple))) then do (Game - Defeat Player 4 (Purple) with the message: You were disconnect...) else do (Do nothing)
-
If (((Entered chat string) Equal to -kick yellow) or (((Entered chat string) Equal to -boot yellow) or ((Entered chat string) Equal to -ban yellow))) then do (Game - Defeat Player 5 (Yellow) with the message: You were disconnect...) else do (Do nothing)
-
If (((Entered chat string) Equal to -kick orange) or (((Entered chat string) Equal to -boot orange) or ((Entered chat string) Equal to -ban orange))) then do (Game - Defeat Player 6 (Orange) with the message: You were disconnect...) else do (Do nothing)
-
If (((Entered chat string) Equal to -kick green) or (((Entered chat string) Equal to -boot green) or ((Entered chat string) Equal to -ban green))) then do (Game - Defeat Player 7 (Green) with the message: You were disconnect...) else do (Do nothing)
-
If (((Entered chat string) Equal to -kick pink) or (((Entered chat string) Equal to -boot pink) or ((Entered chat string) Equal to -ban pink))) then do (Game - Defeat Player 8 (Pink) with the message: You were disconnect...) else do (Do nothing)
-
If ((((Entered chat string) Equal to -kick gray) or ((Entered chat string) Equal to -kick grey)) or ((((Entered chat string) Equal to -boot gray) or ((Entered chat string) Equal to -boot grey)) or (((Entered chat string) Equal to -ban grey) or ((Entered chat str then do (Game - Defeat Player 9 (Gray) with the message: You were disconnect...) else do (Do nothing)
-
If ((((Entered chat string) Equal to -kick lightblue) or ((Entered chat string) Equal to -kick light blue)) or ((((Entered chat string) Equal to -boot lightblue) or ((Entered chat string) Equal to -boot light blue)) or (((Entered chat string) Equal to -ban light then do (Game - Defeat Player 10 (Light Blue) with the message: You were disconnect...) else do (Do nothing)
-
If ((((Entered chat string) Equal to -kick darkgreen) or ((Entered chat string) Equal to -kick dark green)) or ((((Entered chat string) Equal to -boot darkgreen) or ((Entered chat string) Equal to -boot dark green)) or (((Entered chat string) Equal to -ban darkg then do (Game - Defeat Player 11 (Dark Green) with the message: You were disconnect...) else do (Do nothing)
-
If (((Entered chat string) Equal to -kick brown) or (((Entered chat string) Equal to -boot brown) or ((Entered chat string) Equal to -ban brown))) then do (Game - Defeat Player 12 (Brown) with the message: You were disconnect...) else do (Do nothing)
-
-
Else - Actions
-
Do nothing
-
-
-
-------- Hide/Show Leaderboard --------
-
If ((Entered chat string) Equal to -hide) then do (Leaderboard - Hide (Leaderboard of (Triggering player))) else do (Do nothing)
-
If ((Entered chat string) Equal to -show) then do (Leaderboard - Show (Leaderboard of (Triggering player))) else do (Do nothing)
-
-------- Sheep Sounds --------
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
((Triggering player) is in Wolf) Equal to False
-
-
Then - Actions
-
If ((Entered chat string) Equal to -sound 1) then do (Sound - Play GetMeOutofHere <gen>) else do (Do nothing)
-
If ((Entered chat string) Equal to -sound 2) then do (Sound - Play SaveUs <gen>) else do (Do nothing)
-
If ((Entered chat string) Equal to -sound 3) then do (Sound - Play Sheep1 <gen>) else do (Do nothing)
-
If ((Entered chat string) Equal to -sound 4) then do (Sound - Play ThankYouForHelpingMe <gen>) else do (Do nothing)
-
If ((Entered chat string) Equal to -sound 5) then do (Sound - Play UBastard <gen>) else do (Do nothing)
-
If ((Entered chat string) Equal to -sound 6) then do (Sound - Play WeMustHelpHer <gen>) else do (Do nothing)
-
Sound - Destroy (Last played sound)
-
-
Else - Actions
-
Do nothing
-
-
-
-------- FunStuff --------
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Entered chat string) Equal to *censored*
-
(Triggering player) Equal to Player 1 (Red)
-
-
Then - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Name Equal to False
-
-
Then - Actions
-
Set Name = True
-
For each (Integer A) from 1 to 12, do (Set Naming[(Integer A)] = (Name of (Player((Integer A)))))
-
Player Group - Pick every player in (All players) and do (Player - Set name of (Picked player) to *censored*)
-
-
Else - Actions
-
Set Name = False
-
For each (Integer A) from 1 to 12, do (Player - Set name of (Player((Integer A))) to Naming[(Integer A)])
-
-
-
-
Else - Actions
-
Do nothing
-
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Entered chat string) Equal to *censored*
-
(Triggering player) Equal to Player 1 (Red)
-
-
Then - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Pinky Equal to False
-
-
Then - Actions
-
Set Pinky = True
-
Unit Group - Pick every unit in (Units in (Entire map)) and do (Unit - Change color of (Picked unit) to Pink)
-
Trigger - Turn on PinkyRun <gen>
-
-
Else - Actions
-
Set Pinky = False
-
For each (Integer A) from 1 to 12, do (Unit Group - Pick every unit in (Units in (Entire map) owned by (Player((Integer A)))) and do (Unit - Change color of (Picked unit) to (Color of (Player((Integer A))))))
-
Trigger - Turn off PinkyRun <gen>
-
-
-
-
Else - Actions
-
Do nothing
-
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Entered chat string) Equal to *censored*
-
(Triggering player) Equal to Player 1 (Red)
-
-
Then - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Bloody Equal to False
-
-
Then - Actions
-
Set Bloody = True
-
Trigger - Turn on BloodyFun <gen>
-
-
Else - Actions
-
Set Bloody = False
-
Trigger - Turn off BloodyFun <gen>
-
-
-
-
Else - Actions
-
Do nothing
-
-
-
-
-
Gold
-
Events
-
Time - Every 1.00 seconds of game time
-
-
Conditions
-
Actions
-
Player Group - Pick every player in Wolf and do (Player - Add 1 to (Picked player) Current gold)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Money Equal to False
-
-
Then - Actions
-
Player Group - Pick every player in Sheep and do (Player - Add 1 to (Picked player) Current gold)
-
Set Money = True
-
Set FarmGold = 1
-
For each (Integer A) from 1 to 8, do (Unit Group - Pick every unit in (Units owned by (Player((Integer A))) of type Saving Farm) and do (If (((Picked unit) is alive) Equal to True) then do (Player - Add FarmGold to (Player((Integer A))) Current gold) else do (Do nothing)))
-
-
Else - Actions
-
Player Group - Pick every player in Spirit and do (Player - Add 1 to (Picked player) Current gold)
-
Set Money = False
-
-
-
-