Advertisement
Rexia

Untitled

Feb 10th, 2014
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. commandTable = {"kick rat","punch rat","headbutt rat","mock rat",}
  2.  
  3. doCommand()
  4.  
  5. function doCommand()
  6. if not table.is_empty(commandTable ) then
  7. send(commandTable [1])
  8. table.remove(commandTable, 1)
  9. if command_timer then killTimer(command_timer) end
  10. command_timer= command_timer(5, doCommand())
  11. end
  12. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement