Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- Author: Nettoork#0000
- ]]--
- split = function(t, s)
- local a={}
- for i in string.gmatch(t, "[^" .. (s or "%s") .. "]+") do
- a[#a + 1] = i
- end
- return a
- end
- eventChatCommand = function(name, command)
- local arg = split(command, ' ')
- if arg[1] == 'map' and arg[2] then
- tfm.exec.newGame(arg[2])
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement