Hello,i was trying to replicate the code in this video but i keep getting "The (if:) command should be assigned to a variable or attached to a hook but i checked all the code like 3-4 times to see if it was the same and it is
You can get that syntax related error message if you add invalid white-space between the (if:) macro and it's associated hook.
Correct syntax: note there is nothing between the macro and the hook.
(if: $var is "value")[... outcome if conditional express is true ...]
Invalid syntax: note the white-space between the macro and the hook.
(if: $var is "value") [... error message is generated ...]
Comments