// script by klasky, i looked at banskins.lua and l_admintools-v1.3.lua for reference + enes2gamer helped me out with this a bit COM_AddCommand("switchskinsprites", function(player, arg) if not arg CONS_Printf(player, "Sets your skin's sprites to another's.") return end local T = arg if skins[arg] and player.mo and player.mo.valid then player.mo.skin = (T) else CONS_Printf(player, "Either the argument is invalid or you are not in a map.") end end)