Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Sign in to follow this  
swordgrunt

print problem

Recommended Posts

I put in a Print command in a script:

Print(s:\ck"The door needs to be opened\n\ckfrom a \cgsecurity switch.\n\ck Service Levers are not working properly.");

When I compile the script, it says:


Line 16 in file "script.acs" ...
script.acs:16: Bad character in script text.
> Print(s:\c
>
^


What is wrong with the line?

Share this post


Link to post

Try re-locating the first quotation mark-

Print(s:"\ckThe door needs to be opened\n\ckfrom a \cgsecurity switch.\n\ck Service Levers are not working properly.");

Share this post


Link to post

I could swear I placed all color codes inside the quotes! Well, I was about to turn my computer off the time I posted it here anyway. Thanks, GreyGhost.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
×