diff --git a/config/scripts.cfg b/config/scripts.cfg index 3d2794a5..13071401 100644 --- a/config/scripts.cfg +++ b/config/scripts.cfg @@ -21,15 +21,16 @@ alias editent [ ] // "convertclips" command: -// This command automatically converts the nearest "clip" entity -// into a "plclip" entity. Really handy tool with the new version of AC. -// Bind it to a key and have fun! +// This command automatically changes the a "clip" to a "plclip" entity or vice-versa. alias convertclips [ - closestenttype "clip" - alias enttype (getenttype) - if (strcmp $enttype "clip") [ entset plclip (getentattr 0) (getentattr 1) (getentattr 2) (getentattr 3) ] - closestenttype "" -] + if (strcmp (getenttype) "clip") [ + entset plclip (getentattr 0) (getentattr 1) (getentattr 2) (getentattr 3) + ] [ + if (strcmp (getenttype) "plclip") [ + entset clip (getentattr 0) (getentattr 1) (getentattr 2) (getentattr 3) + ] [ + echo "No changes made. This entity isn't a clip or a plclip." + echo "Try using the /closestenttype command to find a specific entity." ] ] ] // "gibsgore" command: // This command controls gib Speed/Number/TTL all in one variable.