Is there a way to make a steamscript wait/hold for a certain time before the next action/command gets executed?

I found the wait command and apparently it was used in TF2 scripts.

I tried using it in DotA2 but the console tells me that it does not know the command.

Is there any way around this/archiving the same outcome?

  • out of curiosity, what are you trying to accomplish with this?
    – char1es
    Dec 13, 2013 at 15:56
  • @char1es i wanted to control the flow of execution since some commands are faster then others even if they were started first.
    – Wandang
    Jan 16, 2014 at 16:04

1 Answer 1


wait is not a steam command, but rather a source engine console command.

DOTA2 list of commands can be found here:


Of interest is the server command "sv_allow_wait_command" which implies that "wait" can be disabled by the server.

  • i will edit my tags then. so wait is controlled by the server which means it will need sv_cheats = 1. this answer does not yet help me to get it working
    – Wandang
    Dec 13, 2013 at 16:39
  • sv_allow_wait_command must be enabled (i.e. set to 1) on the server to allow clients to use wait commands in their scripts. There's no way around this - use of the wait command is often considered cheating. Jan 13, 2014 at 1:31

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .