Splawsh Posted May 14, 2020 Share Posted May 14, 2020 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 More sharing options...
HEROGAMEOfficial Posted May 14, 2020 Share Posted May 14, 2020 Multi line : 1. [[]] 2. "\ \ " 3. '\ \ ' Link to comment Share on other sites More sharing options...
ItsSC Posted May 14, 2020 Share Posted May 14, 2020 use [====[]====] the more "=" between the square bracket, the lesser probability crashing with the code. Link to comment Share on other sites More sharing options...
Splawsh Posted May 14, 2020 Author Share Posted May 14, 2020 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 More sharing options...
Splawsh Posted May 14, 2020 Author Share Posted May 14, 2020 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 More sharing options...
Administrators Enyby Posted May 14, 2020 Administrators Share Posted May 14, 2020 Try read API https://gameguardian.net/help/classgg.html#ad815b037629912b68ce6e028a05f04fd and understand second param. Link to comment Share on other sites More sharing options...
Question
Splawsh
I want create a picture with a script
for example ::
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
Archived
This topic is now archived and is closed to further replies.