|
Gwaer Beginner
Joined: 23 Sep 2002 Posts: 12
|
Posted: Tue Sep 24, 2002 2:33 pm
more multi line problems, yet again |
Ok, heres the deal, my mud does not let me change the width of the text, in and way shape or form, nor is there any punctuation after, NOR does my prompt show up after someone speaks multi line either...my best bet seems to be a post by vigilante some time ago, which i will quote
quote:
#CLASS Multiline "disable"
#TRIGGER {^%*$} {#IF (%ascii(%trigger)=32} {#CAP tell;#GAG} {#T- MultiLine}}
#CLASS 0
That is a class you can use for all your multiline tells irregardless of format. It would also work for any other type of communication. It operates based on the space indent the mud sends and just has to be turned on with "#T+ MultiLine" in your regular captures.
now it appears to me that that would solve my problem with the checking for indent... my problem is just it doesnt appear to work with 6.34 beta, i have not changed any of my command variables or anything, it just doesnt work right, i've fiddled and fiddled, sometimes it just loops forever, most of the time its a scripting syntax error...so is there anyway anyone can use the same idea with something 6.34 compatible?
after that...and i figure out how to make stuff in my status bar clickable, i will finally be happy :) |
|
|
|
Tarn GURU
Joined: 10 Oct 2000 Posts: 873 Location: USA
|
Posted: Tue Sep 24, 2002 5:22 pm |
I'm not sure what Vigilante was doing- do you have a link to his post? %trigger returns whether or not the class is enabled. Checking to see if asc(True/False)=32, which is the space character, seems odd.
You could put two triggers in a class, one that triggers on a line beginning with whitespace (wildcard %s) to capture the line and one that triggers on a line beginning without whitespace (wildcard %x) to deactivate the class.
I assume you have a single trigger outside the class that activates it based on a line like "joe says *"?
-Tarn |
|
|
|
Gwaer Beginner
Joined: 23 Sep 2002 Posts: 12
|
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Wed Sep 25, 2002 3:00 am |
quote:
I'm not sure what Vigilante was doing- do you have a link to his post? %trigger returns whether or not the class is enabled. Checking to see if asc(True/False)=32, which is the space character, seems odd.
You could put two triggers in a class, one that triggers on a line beginning with whitespace (wildcard %s) to capture the line and one that triggers on a line beginning without whitespace (wildcard %x) to deactivate the class.
I assume you have a single trigger outside the class that activates it based on a line like "joe says *"?
-Tarn
%trigger -- a predefined variable that contains the last line triggered upon (not necessarily the line that triggered this particular trigger)
%trigger() -- a function that returns the state (enabled or disabled) of a trigger or class (and any other setting this would work on).
We know you know, and we know what you meant, but it's always fun to correct a Guru.
li'l shmoe of Dragon's Gate MUD |
|
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|