Can you add comments to scripts?
- Stylesjl
- Community Contributor
- Posts: 302
- Joined: Sun Oct 29, 2023 4:01 am
- Location: Sydney, Australia
- Has thanked: 6 times
- Been thanked: 16 times
Can you add comments to scripts?
Is it possible to add comment lines in scripts? I can't see anything in the script documentation which allows for lines that are ignored by the script reader.
- Stylesjl
- Community Contributor
- Posts: 302
- Joined: Sun Oct 29, 2023 4:01 am
- Location: Sydney, Australia
- Has thanked: 6 times
- Been thanked: 16 times
Re: Can you add comments to scripts?
Actually never mind, I found it:
You can add a \\ at the start of the line:
\\Will be ignored
Will cause an error
You can add a \\ at the start of the line:
\\Will be ignored
Will cause an error
- cantdownloadit
- Community Contributor
- Posts: 667
- Joined: Sat Aug 30, 2014 12:14 pm
- Has thanked: 5 times
- Been thanked: 12 times
Re: Can you add comments to scripts?
the new ones appear in so many different places in the forums, it would be nice to have a pinned post in this channel with every possible value and what they did, I know most of them are on the website on different pages, but all on one page would be easier for searching and the like.