kick those afk(er)!

akuzaid93

New Member
Reaction score
3
how can i kick any player that doesn't really play by entering a chat string just like in dota?
 

Whoareyou.

New Member
Reaction score
24
Just do
Trigger:
  • Events
    • Player 1 (Red) types a chat message -kick Blue
    • Conditions
    • Actions
    • Game - Defeat for Blue with the message Red Kicked You!
 

akuzaid93

New Member
Reaction score
3
:D
so, what's the solution? I mean, they can be really noob that he just wander around rather than afk(ing), right?
 

Sajin

User title under construction.
Reaction score
56
make a timer, if there is no action within 3 minuets kick them automaticly
 

tommerbob

Minecraft. :D
Reaction score
110
Check for their current order. Whenever it is stop or hold position, start a timer. Then detect when the unit receives a different order. If the timer runs out before it takes another order, kick them.
 

Ryushi

"I will stand, or I will fall. I will not sit."
Reaction score
59
Why not start a timer for a player when a unit is issued any order, and reset it to its initial duration whenever they issue any other order? Then when the timer goes off, kick them.
 

skyblader

You're living only because it's illegal killing.
Reaction score
159
I doubt there's a full and complete way to detect people that are afk, so I guess issued order is the closest. I believe DotA is somewhat the same. You can also reset the timer when the player selects something. Though I'd recommend use of hashtables as a timer instead, so that when a player types -kick player you can check if the value is greater than 300 seconds then kick it, else do nothing.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top