Technical support and scripting issues
Moderators: Dorian (MJT support), JRL
-
Knoore
- Junior Coder
- Posts: 28
- Joined: Fri Oct 20, 2006 8:30 am
Post
by Knoore » Thu Dec 14, 2006 9:33 am
Error: Expecting a ')'
Error: 'C' Not appropriate
What is wrong with the script?
Code: Select all
IF>{(%type% = "ZP") OR (%type% = "FS")}
IF>{(%filename% <> "%dir%readme.txt") AND (%filename% <> "%dir%Readme.txt") AND (%filename% <> "%dir%report.txt")}
Gosub>clipboard
Endif
Else
Gosub>clipboard
Endif
-
Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
-
Contact:
Post
by Marcus Tettmar » Thu Dec 14, 2006 10:19 am
Should be:
Code: Select all
IF>{(%type% = "ZP") OR (%type% = "FS")}
IF>{(%filename% <> %dir% + "readme.txt") AND (%filename% <> %dir% + "Readme.txt") AND (%filename% <> %dir% + "report.txt")}
Gosub>clipboard
Endif
Else
Gosub>clipboard
Endif