- Joined
- May 11, 2012
- Messages
- 2,108
-
Kick Player Blue
-
Events
-
Player - Player 1 (Red) types a chat message containing -kick player blue as An exact match
-
Player - Player 1 (Red) types a chat message containing -kick player 2 as An exact match
-
-
Conditions
-
Actions
-
Game - Defeat Player 2 (Blue) with the message: (You were kicked by + (|c00FF0000 + (Name of Player 1 (Red))))
-
-
-
Player Blue left
-
Events
-
Player - Player 2 (Blue) leaves the game
-
Player - Player 2 (Blue) leaves the game with a defeat
-
-
Conditions
-
Actions
-
Set Leaver[2] = (Triggering player)
-
Custom script: set bj_wantDestroyGroup = true
-
Unit Group - Pick every unit in (Units owned by Leaver[2] matching (((Matching unit) is A structure) Equal to False)) and do (Actions)
-
Loop - Actions
-
For each (Integer A) from 1 to 6, do (Actions)
-
Loop - Actions
-
Hero - Drop the item from slot (Integer A) of (Picked unit)
-
-
-
Unit - Remove (Picked unit) from the game
-
-
-
Game - Display to (All players) the text: ((|c000000FF + (Name of Leaver[2])) + |c00FF0000has left the game :()
-
Game - Display to (All players) the text: |c00FFD700His sourc...
-
Leaderboard - Change the label for Leaver[2] in LeaderBoard to >>> Left the Game <...
-
Set PlayerSlotStatusInteger = (PlayerSlotStatusInteger - 1)
-
Trigger - Turn on Sharing Gold From Leavers <gen>
-
For each (Integer A) from 1 to 8, do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
((Player((Integer A))) slot status) Equal to Is playing
-
-
Then - Actions
-
Set TempInt = ((Leaver[2] Current gold) / PlayerSlotStatusInteger)
-
Set TempInt2 = ((Leaver[2] Current lumber) / PlayerSlotStatusInteger)
-
Player - Add TempInt to (Player((Integer A))) Current gold
-
Player - Add TempInt2 to (Player((Integer A))) Current lumber
-
-
Else - Actions
-
-
-
-
-
Also, are those 2 event same? will the event with defeat run if the hero leaves by itself?