-
Adding one or more ifs in front changes how this works. Noticed when rewriting an old script. "New if command" behaves the same.
SCRIPT:
set foobar dogville
set cat bar
if dog isin $foo$cat echo yes1 else echo no1
if 1 == 1 if dog isin $foo$cat echo yes2 else echo no2
if 1 == 0 else if dog isin $foo$cat echo yes3 else echo no3
OUTPUT:
no1
yes2
yes3
2.1 alpha (build 2843) (also...
2010-01-03 06:45:32 UTC by nobody
-
plampila committed revision 4443 to the ezQuake SVN repository, changing 3 files.
2009-12-31 18:08:42 UTC by plampila
-
plampila committed revision 4442 to the ezQuake SVN repository, changing 1 files.
2009-12-31 18:08:25 UTC by plampila
-
plampila committed revision 4441 to the ezQuake SVN repository, changing 3 files.
2009-12-31 18:08:12 UTC by plampila
-
plampila committed revision 4440 to the ezQuake SVN repository, changing 3 files.
2009-12-31 18:07:56 UTC by plampila
-
plampila committed revision 4439 to the ezQuake SVN repository, changing 1 files.
2009-12-31 18:07:39 UTC by plampila
-
plampila committed revision 4438 to the ezQuake SVN repository, changing 1 files.
2009-12-31 18:07:25 UTC by plampila
-
plampila committed revision 4437 to the ezQuake SVN repository, changing 1 files.
2009-12-31 18:07:10 UTC by plampila
-
plampila committed revision 4436 to the ezQuake SVN repository, changing 1 files.
2009-12-31 17:13:32 UTC by plampila
-
qqshka committed revision 4435 to the ezQuake SVN repository, changing 4 files.
2009-12-31 00:16:55 UTC by qqshka