View Full Version : How to break up really long dekiscript lines for readability?
mhoydis
05-27-2008, 07:15 PM
I have a dekiscript line which is really really long. It works, but I'd like to break it up into multiple lines for readability sake. What's the magic character in dekiscript to do that?
brigettek
05-27-2008, 07:37 PM
If you enter your dekiscript in the following type of block, you can use shift-enter to insert line breaks:
<pre class="script">
PUT DEKISCRIPT
CODE HERE
</pre>
johan
06-04-2008, 09:53 PM
Is this really true?
Anyone got it working, please feel free to update http://wiki.opengarden.org/User:Johan/DekiScript_w%2f%2f_line_breaks
SteveB
06-08-2008, 05:42 PM
Yes.
You can either do:
{{ 123 }}
or
<pre class="script"> 123 </pre>
Both yield the same result.
Note that in 8.05.1 you can use Shift-Enter to create line breaks between dekiscript lines even when using {{ }}.
johan
06-09-2008, 03:11 PM
Ok, thanks for the clarification.
I was unsuccessfully trying:
<pre class="script"> {{ 123 }} </pre>
SteveB
06-09-2008, 05:06 PM
Yes, that doesn't work. It's like doing: {{ {{ 123 }} }}
Powered by vBulletin™ Version 4.1.3 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.