Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- eventChatCommand = function(player, command)
- local args = {}
- for arg in command:gmatch ("[^%s]+") do
- table.insert (args, arg)
- end
- if args[1] == "perfil" and tfm.get.room.playerList[capitalize(args[2])] then
- -- función acá
- end
- end
- capitalize = function(word)
- return string.upper (word:sub(1,1)) .. string.lower (word:sub(2));
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement