Created
July 13, 2026 02:59
-
-
Save flarn2006/eec7f9dacdc90f0b882fe46dbf3ddb22 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| COM_AddCommand('sk', function(p, arg) | |
| arg = string.lower($) | |
| if arg == 'sparks' or arg == 'ellie' then | |
| if consoleplayer.mo.color == SKINCOLOR_ELLIE then | |
| COM_BufInsertText(p, 'color sparklet') | |
| end | |
| COM_BufInsertText(p, 'say "/me morphs back into Ellie";skin sparks') | |
| elseif skins[arg] ~= nil then | |
| if consoleplayer.mo.skin == 'sparks' and consoleplayer.mo.color == SKINCOLOR_SPARKLET then | |
| COM_BufInsertText(p, 'color ellie') | |
| end | |
| COM_BufInsertText(p, 'say "/me morphs into '..skins[arg].realname..'";skin '..arg) | |
| else | |
| print('Unrecognized skin name') | |
| end | |
| end, COM_LOCAL) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment