Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- commandTable = {"kick rat","punch rat","headbutt rat","mock rat",}
- doCommand()
- function doCommand()
- if not table.is_empty(commandTable ) then
- send(commandTable [1])
- table.remove(commandTable, 1)
- if command_timer then killTimer(command_timer) end
- command_timer= command_timer(5, doCommand())
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement