- Joined
- Jun 10, 2008
- Messages
- 1,399
Ok, i'll just jump to it, i have a drop command, it's basically:
Also, i have a -give command, it works, but only for player 1, here it is
-
drop
-
Events
- Player - Player 1 (Red) types a chat message containing -drop as An exact match
- Player - Player 2 (Blue) types a chat message containing -drop as An exact match
- Player - Player 3 (Teal) types a chat message containing -drop as An exact match
- Player - Player 4 (Purple) types a chat message containing -drop as An exact match
- Player - Player 5 (Yellow) types a chat message containing -drop as An exact match
- Player - Player 6 (Orange) types a chat message containing -drop as An exact match
- Player - Player 7 (Green) types a chat message containing -drop as An exact match
- Player - Player 8 (Pink) types a chat message containing -drop as An exact match
- Player - Player 9 (Gray) types a chat message containing -drop as An exact match
- Player - Player 10 (Light Blue) types a chat message containing -drop as An exact match
- Player - Player 11 (Dark Green) types a chat message containing -drop as An exact match
- Player - Player 12 (Brown) types a chat message containing -drop as An exact match
- Conditions
-
Actions
-
Unit Group - Pick every unit in (Units currently selected by (Triggering player)) and do (Actions)
-
Loop - Actions
-
For each (Integer Integer) from 1 to 6, do (Actions)
-
Loop - Actions
- Hero - Drop (Item carried by (Picked unit) in slot Integer) from (Picked unit)
-
Loop - Actions
-
For each (Integer Integer) from 1 to 6, do (Actions)
-
Loop - Actions
-
Unit Group - Pick every unit in (Units currently selected by (Triggering player)) and do (Actions)
-
Events
Also, i have a -give command, it works, but only for player 1, here it is
-
give
-
Events
- Player - Player 1 (Red) types a chat message containing -Give as An exact match
- Player - Player 2 (Blue) types a chat message containing -Give as An exact match
- Player - Player 3 (Teal) types a chat message containing -Give as An exact match
- Player - Player 4 (Purple) types a chat message containing -Give as An exact match
- Player - Player 5 (Yellow) types a chat message containing -Give as An exact match
- Player - Player 6 (Orange) types a chat message containing -Give as An exact match
- Player - Player 7 (Green) types a chat message containing -Give as An exact match
- Player - Player 8 (Pink) types a chat message containing -Give as An exact match
- Player - Player 9 (Gray) types a chat message containing -Give as An exact match
- Player - Player 10 (Light Blue) types a chat message containing -Give as An exact match
- Player - Player 11 (Dark Green) types a chat message containing -Give as An exact match
- Player - Player 12 (Brown) types a chat message containing -Give as An exact match
- Conditions
-
Actions
- Dialog - Change the title of GiveDialog to Give units to:
- Dialog - Create a dialog button for GiveDialog labelled Red
- Set GiveDialogButton[0] = (Last created dialog Button)
- Dialog - Create a dialog button for GiveDialog labelled Blue
- Set GiveDialogButton[1] = (Last created dialog Button)
- Dialog - Create a dialog button for GiveDialog labelled Teal
- Set GiveDialogButton[2] = (Last created dialog Button)
- Dialog - Create a dialog button for GiveDialog labelled Purple
- Set GiveDialogButton[3] = (Last created dialog Button)
- Dialog - Create a dialog button for GiveDialog labelled Yellow
- Set GiveDialogButton[4] = (Last created dialog Button)
- Dialog - Create a dialog button for GiveDialog labelled Orange
- Set GiveDialogButton[5] = (Last created dialog Button)
- Dialog - Create a dialog button for GiveDialog labelled Green
- Set GiveDialogButton[6] = (Last created dialog Button)
- Dialog - Create a dialog button for GiveDialog labelled Pink
- Set GiveDialogButton[7] = (Last created dialog Button)
- Dialog - Create a dialog button for GiveDialog labelled Grey
- Set GiveDialogButton[8] = (Last created dialog Button)
- Dialog - Create a dialog button for GiveDialog labelled Light blue
- Set GiveDialogButton[9] = (Last created dialog Button)
- Dialog - Create a dialog button for GiveDialog labelled Dark green
- Set GiveDialogButton[10] = (Last created dialog Button)
- Dialog - Create a dialog button for GiveDialog labelled Brown
- Set GiveDialogButton[11] = (Last created dialog Button)
- Dialog - Create a dialog button for GiveDialog labelled Cancel
- Set GiveDialogButton[12] = (Last created dialog Button)
- Dialog - Show GiveDialog for (Triggering player)
-
Events
-
GiveDialog
-
Events
- Dialog - A dialog button is clicked for GiveDialog
- Conditions
-
Actions
-
For each (Integer A) from 0 to 11, do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Clicked dialog button) Equal to GiveDialogButton[(Integer A)]
-
Then - Actions
-
Unit Group - Pick every unit in (Units currently selected by (Triggering player)) and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Picked unit) is A Hero) Equal to False
- (Owner of (Picked unit)) Equal to (Triggering player)
-
Then - Actions
- Unit - Change ownership of (Picked unit) to (Player(((Integer A) + 1))) and Change color
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
-
Unit Group - Pick every unit in (Units currently selected by (Triggering player)) and do (Actions)
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
-
For each (Integer A) from 0 to 11, do (Actions)
-
Events