|
zortania Newbie
Joined: 15 Jul 2003 Posts: 6 Location: USA
|
Posted: Thu Feb 19, 2004 2:58 am
Help with Extending Accepted Text |
Okay, I'm setting up this:
Trigger:
^(%1) tells you
Reaction:
#SUB {%time( "hh:mm") %1 }
#CAP Tells
#GAG
What I'm having a problem is I want to take this situation:
Yoohoo tells you, "BLah blah blah blah."
And make it appear in that window completely without having just the first line of text and not the rest. Right now, it'll give me to a certain extent of the line and show the rest in the window. Any way I can get this to work like I want it to? |
|
|
|
Rorso Wizard
Joined: 14 Oct 2000 Posts: 1368
|
Posted: Thu Feb 19, 2004 5:24 pm |
quote: Originally posted by zortania
Okay, I'm setting up this:
Trigger:
^(%1) tells you
Reaction:
#SUB {%time( "hh:mm") %1 }
#CAP Tells
#GAG
What I'm having a problem is I want to take this situation:
Yoohoo tells you, "BLah blah blah blah."
And make it appear in that window completely without having just the first line of text and not the rest. Right now, it'll give me to a certain extent of the line and show the rest in the window. Any way I can get this to work like I want it to?
If I understand what you mean then the MUD automatically splits lines of a certain width. There's some ways to make zMUD capture that text. The easiest method is to use a trigger class.
Say we have a class named 'tell' containing these triggers:
#trigger {$} {#t- tell}
#trigger {^*$} {#cap Tells;#gag}
Then you change the main trigger to (places in the super class):
#trigger {^(%w) tells you} {#SUB {%time( "hh:mm") %1};#CAP Tells;#GAG;#t+ tell}
This assumes that a complete empty line is sent after the tell message. Hope it works |
|
|
|
zortania Newbie
Joined: 15 Jul 2003 Posts: 6 Location: USA
|
Posted: Fri Feb 20, 2004 12:56 am |
Okay, that works..except when other long things pop up like dates, deathsight warnings, or weather..they show up in the window. Or if I type a long command out, it'll show the command in the window. Meh..
|
|
|
|
|
|