Moderator
M
AFK Protection

Events


Map initialization

Conditions

Actions


Player Group - Pick every player in (All players) and do (Actions)



Loop - Actions




Game - Grant shared vision and full shared unit control of (Picked player) units with his/her allies


Custom script: call DestroyTrigger(GetTriggeringTrigger())
Unshare

Events


Player - Player 1 (Red) types a chat message containing -unshare as A substring


Player - Player 2 (Blue) types a chat message containing -unshare as A substring


Player - Player 3 (Teal) types a chat message containing -unshare as A substring


Player - Player 4 (Purple) types a chat message containing -unshare as A substring

Conditions

Actions


Set tempPlayer = (Triggering player)


Set tempPlayerGroup = (All allies of tempPlayer)


Player Group - Pick every player in tempPlayerGroup and do (Actions)



Loop - Actions




Player - Make (Picked player) treat tempPlayer as an Ally with shared vision


Set Saying_Player = (Player group(tempPlayer))


Game - Display to Saying_Player the text: Disabled Share


Custom script: set udg_tempPlayer = null


Custom script: call DestroyForce(udg_tempPlayerGroup)


Custom script: call DestroyForce (udg_Saying_Player)
Auto Start

Events


Time - Elapsed game time is 0.00 seconds

Conditions

Actions


Custom script: set bj_wantDestroyGroup = true


Set GroupVar = (Units in (Playable map area))


Unit Group - Pick every unit in GroupVar and do (Actions)



Loop - Actions




If (All Conditions are True) then do (Then Actions) else do (Else Actions)





If - Conditions






Or - Any (Conditions) are true







Conditions








((Picked unit) is A peon-type unit) Equal to True





Then - Actions






Unit - Order (Picked unit) to Harvest Nearby Gold





Else - Actions






If (All Conditions are True) then do (Then Actions) else do (Else Actions)







If - Conditions








(Unit-type of (Picked unit)) Equal to Ghoul







Then - Actions








Unit - Order (Picked unit) to Harvest Nearby Lumber







Else - Actions








If (All Conditions are True) then do (Then Actions) else do (Else Actions)









If - Conditions










(Unit-type of (Picked unit)) Equal to Town Hall









Then - Actions










Unit - Order (Picked unit) to train/upgrade to a Peasant









Else - Actions










If (All Conditions are True) then do (Then Actions) else do (Else Actions)











If - Conditions












(Unit-type of (Picked unit)) Equal to Great Hall











Then - Actions












Unit - Order (Picked unit) to train/upgrade to a Peon











Else - Actions












If (All Conditions are True) then do (Then Actions) else do (Else Actions)













If - Conditions














(Unit-type of (Picked unit)) Equal to Necropolis













Then - Actions














Unit - Order (Picked unit) to train/upgrade to a Acolyte













Else - Actions














If (All Conditions are True) then do (Then Actions) else do (Else Actions)















If - Conditions
















(Unit-type of (Picked unit)) Equal to Tree of Life















Then - Actions
















Unit - Order (Picked unit) to train/upgrade to a Wisp















Else - Actions


Custom script: call DestroyGroup(udg_GroupVar)


Custom script: call DestroyTrigger(GetTriggeringTrigger())
Ease Ini

Events


Map initialization

Conditions

Actions


Set Clock = 96.00


If (All Conditions are True) then do (Then Actions) else do (Else Actions)



If - Conditions




(Current game speed) Equal to Fastest



Then - Actions




Set GameSpeed = 5.00




Game - Display to (All players) the text: Fastest



Else - Actions




If (All Conditions are True) then do (Then Actions) else do (Else Actions)





If - Conditions






(Current game speed) Equal to Fast





Then - Actions






Set GameSpeed = 4.00






Game - Display to (All players) the text: Fast





Else - Actions






If (All Conditions are True) then do (Then Actions) else do (Else Actions)







If - Conditions








(Current game speed) Equal to Normal







Then - Actions








Set GameSpeed = 3.00








Game - Display to (All players) the text: Normal







Else - Actions








If (All Conditions are True) then do (Then Actions) else do (Else Actions)









If - Conditions










(Current game speed) Equal to Slow









Then - Actions










Set GameSpeed = 2.00










Game - Display to (All players) the text: Slow









Else - Actions










Set GameSpeed = 1.00










Game - Display to (All players) the text: Slowest


Game - Unlock the game speed


Game - Set game speed to Slowest


Game - Lock the game speed


Sound - Play BattleNetTick <gen>


Trigger - Run Clock <gen> (checking conditions)


Custom script: call DestroyTrigger(GetTriggeringTrigger())
Clock

Events


Time - Every (1.00 / 32.00) seconds of game time

Conditions

Actions


If (All Conditions are True) then do (Then Actions) else do (Else Actions)



If - Conditions




curClock Greater than or equal to Clock



Then - Actions




Set curClock = 0.00




Trigger - Run Gamespeed <gen> (checking conditions)



Else - Actions




Set curClock = (curClock + 1.00)
Gamespeed

Events

Conditions

Actions


If (All Conditions are True) then do (Then Actions) else do (Else Actions)



If - Conditions




curGameSpeed Greater than GameSpeed



Then - Actions




Sound - Play CreepAggroWhat1 <gen>




Game - Display to (All players) the text: !




Set Clock = 0.00




Set curClock = 0.00




Set GameSpeed = 0.00




Set curGameSpeed = 0.00




Trigger - Turn off Clock <gen>




Trigger - Turn off (This trigger)




Custom script: call DestroyTrigger(gg_trg_Clock)




Custom script: call DestroyTrigger(GetTriggeringTrigger())



Else - Actions




Game - Unlock the game speed




If (All Conditions are True) then do (Then Actions) else do (Else Actions)





If - Conditions






curGameSpeed Equal to 1.00





Then - Actions






Game - Set game speed to Slowest






Game - Display to (All players) the text: Slowest





Else - Actions






If (All Conditions are True) then do (Then Actions) else do (Else Actions)







If - Conditions








curGameSpeed Equal to 2.00







Then - Actions








Game - Set game speed to Slow








Game - Display to (All players) the text: Slow







Else - Actions








If (All Conditions are True) then do (Then Actions) else do (Else Actions)









If - Conditions










curGameSpeed Equal to 3.00









Then - Actions










Game - Set game speed to Normal










Game - Display to (All players) the text: Normal









Else - Actions










If (All Conditions are True) then do (Then Actions) else do (Else Actions)











If - Conditions












curGameSpeed Equal to 4.00











Then - Actions












Game - Set game speed to Fast












Game - Display to (All players) the text: Fast











Else - Actions












If (All Conditions are True) then do (Then Actions) else do (Else Actions)













If - Conditions














curGameSpeed Equal to 5.00













Then - Actions














Game - Set game speed to Fastest














Game - Display to (All players) the text: Fastest













Else - Actions




Game - Lock the game speed




Set curGameSpeed = (curGameSpeed + 1.00)




Sound - Play BattleNetTick <gen>