Unknown2007-01-02 07:15:21
So basically, I have this thing I use for my warnings.
It works fine... sometimes, It'll pop up...
Perfect, but when I send things to the MUD that I want echoed this happens..
Basically, I want it to be more like...
These are my simple aliases I use to show the echos.
My coding skills aren't exactly fantastic, actually really quite amateur, I've tried using #cr but it didn't work, I know why now.. and I also tried using %cr, that didn't work either. If it's anything it's probably in my i_i alias, but I've no idea what to do with it.
Thanks in advance.
-Kayvros
CODE
#ALIAS i_i {#say %ansi( red)~%ansi( gray):%ansi( white)}
It works fine... sometimes, It'll pop up...
CODE
You open up a window in the cosmic fabric and search out Reiha. Through the
cosmic window, you see Reiha at centre of the Necropolis.
860h, 738m, 598e, 0p, 3200en, 3616w x-
: Regained equilibrium.
860h, 738m, 598e, 0p, 3200en, 3620w ex-
cosmic window, you see Reiha at centre of the Necropolis.
860h, 738m, 598e, 0p, 3200en, 3616w x-
: Regained equilibrium.
860h, 738m, 598e, 0p, 3200en, 3620w ex-
Perfect, but when I send things to the MUD that I want echoed this happens..
CODE
860h, 738m, 598e, 0p, 3200en, 3620w ex-: Pipes ON
Large tremors rock the room as the earth shivers under the iron will of the
elementals.
860h, 738m, 598e, 0p, 3200en, 3620w ex-: Pipes OFF
Large tremors rock the room as the earth shivers under the iron will of the
elementals.
860h, 738m, 598e, 0p, 3200en, 3620w ex-: Pipes OFF
Basically, I want it to be more like...
CODE
860h, 738m, 598e, 0p, 3200en, 3620w ex-
: Pipes ON
Large tremors rock the room as the earth shivers under the iron will of the
elementals.
860h, 738m, 598e, 0p, 3200en, 3620w ex-
: Pipes OFF
: Pipes ON
Large tremors rock the room as the earth shivers under the iron will of the
elementals.
860h, 738m, 598e, 0p, 3200en, 3620w ex-
: Pipes OFF
These are my simple aliases I use to show the echos.
CODE
#ALIAS pipesoff {i_i Pipes OFF;#t- pipes}
#ALIAS pipeson {i_i Pipes ON;#t+ pipes}
#ALIAS pipeson {i_i Pipes ON;#t+ pipes}
My coding skills aren't exactly fantastic, actually really quite amateur, I've tried using #cr but it didn't work, I know why now.. and I also tried using %cr, that didn't work either. If it's anything it's probably in my i_i alias, but I've no idea what to do with it.
Thanks in advance.
-Kayvros
Shorlen2007-01-02 07:40:23
Okay, here's what's happening.
If you have a trigger that results in an #say blah, the blah will appear on the next time after the trigger.
If you enter an alias that results in an #say blah, the blah will appear on the current line.
Why? With the trigger, the line is already there, so it has to put it on the next line. With the alias you entered, there's nothing on that prompt yet, so it can put the echo right there.
Not sure if that made sense.
What you'll have to do is this: When you call an alias that enters something directly, have it use a seperate version of i_i, one that has #say %null before what it actually wants to echo. That will move the #say that follows to the next line.
If you have a trigger that results in an #say blah, the blah will appear on the next time after the trigger.
If you enter an alias that results in an #say blah, the blah will appear on the current line.
Why? With the trigger, the line is already there, so it has to put it on the next line. With the alias you entered, there's nothing on that prompt yet, so it can put the echo right there.
Not sure if that made sense.
What you'll have to do is this: When you call an alias that enters something directly, have it use a seperate version of i_i, one that has #say %null before what it actually wants to echo. That will move the #say that follows to the next line.
Unknown2007-01-02 12:58:12
CODE
#SAY %crlf~This is always on it's own line.
Unknown2007-01-02 17:17:36
That worked, thanks!