UsingBoxquotes

From 40tude Dialog Wiki

Contents

Using Boxquotes

Important

Please note, that you have to leave a blank line after the last "-". Otherwise your text may be cut off.

Closed Boxquotes

To use closed Boxquotes, you have to insert the following tags inside the editor window (into your text):

box:
This is our title
-
aslkdjl aksdj lkajsd lkjalsdkj lakj sadalksjd lkjasldkj lakjd
lkqjlakjasl dlakjsd lkjaslkdj laksjdlk ajsldkj lakjsd lkajsdl
asdlkja lkaj sdlkjalskjd lkajsd lkjaldskj lkajsdl kjasldkj lak
-

You will get this kind of Boxquote:

,---- [This is our title] ---------------------------------------.
| aslkdjl aksdj lkajsd lkjalsdkj lakj sadalksjd lkjasldkj lakjd  |
| lkqjlakjasl dlakjsd lkjaslkdj laksjdlk ajsldkj lakjsd lkajsdl  |
| asdlkja lkaj sdlkjalskjd lkajsd lkjaldskj lkajsdl kjasldkj lak |
'----------------------------------------------------------------'

Open Boxquotes

And if you don't want closed Boxquotes, just use box_o instead of box:

box_o:
This is our title
-
aslkdjl aksdj lkajsd lkjalsdkj lakj sadalksjd lkjasldkj lakjd
lkqjlakjasl dlakjsd lkjaslkdj laksjdlk ajsldkj lakjsd lkajsdl
lkaj sdlkjalskjd lkajsd lkjaldskj lkajsdl kjasldkj lak
-

And now you will get this open Boxquote.

,---- [This is our title] 
| aslkdjl aksdj lkajsd lkjalsdkj lakj sadalksjd lkjasldkj lakjd
| lkqjlakjasl dlakjsd lkjaslkdj laksjdlk ajsldkj lakjsd lkajsdl
| lkaj sdlkjalskjd lkajsd lkjaldskj lkajsdl kjasldkj lak
'----

Install & Setup the script

Of course the tags alone won't do much. You have to insert the script into the OnBeforeSendingMessage event of your scripting window.


Setup in the script:
If you want to change the tags for the Boxquotes and the seperator, you have to edit the three lines below inside the script.

StartLine_close_box = 'box:';
StartLine_open_box = 'box_o:';
Separator = '-';

René Fischer