Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Kick
Events -

Player - Player 1 types -Kick as a substring
Conditions:

Substring (Entered chat string) 1, 5 = "-Kick"
Actions:

If Entered chatstring equal to ("-Kick blue") Then Defeat player 2 blue

Else If Entered chatstring equal to ("-Kick teal") Then Defeat player 3 Teal

Etc..
Kick

Events


Player - Player 1 (Red) types a chat message containing -kick as An exact match

Conditions


(Substring((Entered chat string), 1, 5)) Equal to -kick

Actions


Game - Victory (Player((Integer((Substring((Entered chat string), 7, 7)))))) (Skip dialogs, Skip scores)
No teamkill

Events


Unit - A unit Is issued an order targeting an object

Conditions


((Triggering unit) belongs to an ally of (Owner of (Target unit of issued order))) Equal to True

Actions


Unit - Order (Triggering unit) to Stop
^it may work but still after the first hit.
try this one.
No teamkill
Events
Unit - A unit Is issued an order targeting an object
Conditions
((Triggering unit) belongs to an ally of (Owner of (Target unit of issued order))) Equal to True
Actions
Unit - Order (Triggering unit) to Stop
DontCastSpellsOnAllies

Events


Unit - A unit Starts the effect of an ability

Conditions


((Target unit of ability being cast) belongs to an ally of (Owner of (Triggering unit))) Equal to True

Actions


Unit - Order (Triggering unit) to Stop
DontCastSpellsOnAllies

Events


Unit - A unit Starts the effect of an ability

Conditions

Actions


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



If - Conditions




((Target unit of ability being cast) belongs to an ally of (Owner of (Triggering unit))) Equal to True



Then - Actions




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





If - Conditions






Or - Any (Conditions) are true







Conditions








(Ability being cast) Equal to Healing Wave








(Ability being cast) Equal to Holy Light





Then - Actions





Else - Actions






Unit - Order (Triggering unit) to Stop



Else - Actions
Yeah....I got it working so that they cannot attack using regular attack, but they're able to use a spell on the other players hero, How can i fix that?
