Script to only run on first use?
#2
if (checkalias thealiasyouwant) [ ] [ thealiasyouwant = [thedefault] ]

The first pair of brackets [ ] is empty, because if the alias already exists we don't want to overwrite it.
Thanks given by:


Messages In This Thread
Script to only run on first use? - by VenteX - 12 Feb 11, 10:42PM
RE: Script to only run on first use? - by Gibstick - 12 Feb 11, 11:05PM