|
Ziandrox Newbie
Joined: 08 Feb 2002 Posts: 8
|
Posted: Fri Feb 08, 2002 9:14 pm
Adding multiple lines in a memo field with script |
I have a memo field in my equipment database. I was wondering how I could add multiple lines to it by scripting so not everything is on the same line. Is there a CR, LF, NL, or some other type of command that works with text and not MUD output (Saw #CR). If not, have any suggestions for something I should use instead...An item comes out like:
Object 'anthrox troll sergeant whip' is type weapon
Extra flags: glow hum magic auctioned.
Weight is 6, value is 3500, level is 88.
Worn take wield.
Weapon type is whip.
Damage is 10d18 (average 95).
Damage type is whip.
Affects hit roll by 7.
Affects damage roll by 7.
Affects intelligence by 3.
Affects skill whip by 10.
I just have all the affects (Affects (*).) get added to a string list variable called ItemAffects. Any help would be appreciated. |
|
|
|
Charbal GURU
Joined: 15 Jun 2001 Posts: 654 Location: USA
|
Posted: Sat Feb 09, 2002 2:02 am |
I think you want the %crlf function.
#show Test %crlf Test
Outputs:
Test
Test
#show Test%{crlf}Test
Outputs:
Test
Test
- Charbal
- Charbal |
|
|
|
Ziandrox Newbie
Joined: 08 Feb 2002 Posts: 8
|
Posted: Sat Feb 09, 2002 10:44 am |
Works perfectly. Thanks.
|
|
|
|
|
|