Jump to content
  • 0

little problem :/


Splawsh

Question

I want create a picture with a script

for example ::

file = io.open('xx/xx/xx/xx.jpg','w')
  file:write([[**picture codes**]])
  file:close()

but this don't work on all pic

 because some pic have ]] or [[ in their codes

and it corrupts my code ;(

 

I want a symbol instead [[x]] or "x" or 'x'

or 

 another method .

 

please help me

 

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

8 minutes ago, HEROGAMEOfficial said:

Multi line :

1. [[]]

2. "\

\

"

3. '\

\

'

thanks U ❤❤❤

[added 0 minutes later]
4 minutes ago, ItsSC said:

use [====[]====] the more "=" between the square bracket, the lesser probability crashing with the code.

😱😱😱Thats nice thanks you ❤❤❤❤👌

Link to comment
Share on other sites

2 hours ago, ItsSC said:

use [====[]====] the more "=" between the square bracket, the lesser probability crashing with the code.

a question ::

l

local text = ('I Love You')
gg.copyText(text)

copied :: ILoveYou

why??!

hove solve it ? 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.