How to disable a script without deleting it

I have a "calibrate" script on button 5. I'm looking for a way to disable it so that it won't run if I accidently click the 5. Something like GOTO :EndLabel, or an EXIT statement typed on the first line. There doesn't appear to be any kind of user manual for writing repetier-host manual control scripts. By trial and error I found I could use a semicolon to insert comments but it's too tedious to comment out every line.

Comments

  • Semicolon as comment is the only solution that will work. There is no jump or ignore command.

    Otherwise make a file for scripts and copy it there and then delete if you only need it from time to time.
Sign In or Register to comment.