diff --git a/config/scripts.cfg b/config/scripts.cfg index 46642f98..e2e5880f 100644 --- a/config/scripts.cfg +++ b/config/scripts.cfg @@ -325,7 +325,7 @@ gencl = [ tmp_cl = "" loop gcl 3 [ add2list tmp_cl (rrnd 1 256) ] if $tmp_numargs [ - if (&& (! (= $selx 0)) (! (= $sely 0))) [ + if (|| (! (= $selx 0)) (! (= $sely 0))) [ echo (c 3)Trying colored light: (c 5) $arg1 (at $tmp_cl 0) (at $tmp_cl 1) (at $tmp_cl 2) newent light $arg1 (at $tmp_cl 0) (at $tmp_cl 1) (at $tmp_cl 2) ] [ echo (c 3)Error: (c 5)If an argument is given for (concatword (c 1) gencl (c 5) ",") you must select a cube where you want the new light to be placed. ]