Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
chamenas
Wizard


Joined: 26 Mar 2008
Posts: 1547

PostPosted: Sat May 03, 2008 8:36 pm   

Line breaks in aliases
 
I have a character that can shapeshift in my MUD. However, because of abuse reasons, when shape shifted you cannot pmote since it's considered a form of "communication", this rule mostly applies to PKillers, because they could transform and then inform allies while still transformed. Thus I decided to make an alias to pmote the transformation and change back.

However, going back to normal form requires a description with a line break.

{DThis pale, thin figure before you has a remarkably dark attractiveness. His hair
is a jet black in comparison to the cold white of his skin. Cut short, it still
hangs in thick and full around his head in a neat trim. A long celtic streak
runs just off center along the left side of his head, snow white in shade. His
face holds a look of complete indifference. The features are drawn in contemplation
but his eyes rarely seem focused on anything around him. However, when he does
regard what is right in front of him, there is a certain kinetic energy given
that can sometimes cause chills or goosebumps in those who he looks at. His
eyes are dark and black, they shine with intelligence but appear very empty
and black in other ways, though a closer look would expose that they are merely
a dark green color. A something that could possibly described as a cold
malice and rage.

His frame is thin and dressed in simple, dark, earthy colors. His clothes hang
loose about his wiry frame so that it is hard to tell just how thin he is. He
wears a kilt around his legs. The kilt is black and blue to display his family
colors and doesn't quite clash with his shirt but doesn't compliment it either.
However, this is offset by a clan tartan of the same colors which covers most
of his midsection, wrapping around the shoulder. He holds himself well, with
confidence and showing privilege, but holds no note of snobishness, just a cold
chill that can often be felt tangibly. If and when he smiles, there is a hint
of something amiss, something that most would not smile about.{x

Code:

pmote shudders and changes form, resuming his human shape.
desc ~+~+
~.c
#wait 400
~{DThis pale, thin figure before you has a remarkably dark attractiveness. His hair
is a jet black in comparison to the cold white of his skin. Cut short, it still
hangs in thick and full around his head in a neat trim. A long celtic streak
#wait 400
runs just off center along the left side of his head, snow white in shade. His
face holds a look of complete indifference. The features are drawn in contemplation
#wait 400
but his eyes rarely seem focused on anything around him. However, when he does
regard what is right in front of him, there is a certain kinetic energy given
that can sometimes cause chills or goosebumps in those who he looks at. His
#wait 400
eyes are dark and black, they shine with intelligence but appear very empty
and black in other ways, though a closer look would expose that they are merely
a dark green color. A something that could possibly described as a cold
malice and rage.
#wait 400

His frame is thin and dressed in simple, dark, earthy colors. His clothes hang
loose about his wiry frame so that it is hard to tell just how thin he is. He
wears a kilt around his legs. The kilt is black and blue to display his family
#wait 400
colors and doesn't quite clash with his shirt but doesn't compliment it either.
However, this is offset by a clan tartan of the same colors which covers most
of his midsection, wrapping around the shoulder. He holds himself well, with
#wait 400
confidence and showing privilege, but holds no note of snobishness, just a cold
chill that can often be felt tangibly. If and when he smiles~, there is a hint
of something amiss, something that most would not smile about~.~{x
~.f
~@


How can I get this line break to go through and register as input in the game?
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4692
Location: Pensacola, FL, USA

PostPosted: Sat May 03, 2008 9:01 pm   
 
if that is not working... try #SEND's
_________________
Discord: Shalimarwildcat
Reply with quote
chamenas
Wizard


Joined: 26 Mar 2008
Posts: 1547

PostPosted: Sat May 03, 2008 9:13 pm   
 
all of the lines? or just a #SEND with a blank feed?
_________________
Listen to my Guitar - If you like it, listen to more
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4692
Location: Pensacola, FL, USA

PostPosted: Sat May 03, 2008 9:31 pm   
 
i would try just the blank feed for now, maybe
#SEND {%cr}
_________________
Discord: Shalimarwildcat
Reply with quote
chamenas
Wizard


Joined: 26 Mar 2008
Posts: 1547

PostPosted: Sat May 03, 2008 9:49 pm   
 
Code:

pmote shudders and changes form, resuming his human shape.
desc ~+~+
~.c
#wait 400
~{DThis pale, thin figure before you has a remarkably dark attractiveness. His hair
is a jet black in comparison to the cold white of his skin. Cut short, it still
hangs in thick and full around his head in a neat trim. A long celtic streak
#wait 400
runs just off center along the left side of his head, snow white in shade. His
face holds a look of complete indifference. The features are drawn in contemplation
#wait 400
but his eyes rarely seem focused on anything around him. However, when he does
regard what is right in front of him, there is a certain kinetic energy given
that can sometimes cause chills or goosebumps in those who he looks at. His
#wait 400
eyes are dark and black, they shine with intelligence but appear very empty
and black in other ways, though a closer look would expose that they are merely
a dark green color. A something that could possibly described as a cold
malice and rage.
#wait 400
#SEND {%cr}
His frame is thin and dressed in simple, dark, earthy colors. His clothes hang
loose about his wiry frame so that it is hard to tell just how thin he is. He
wears a kilt around his legs. The kilt is black and blue to display his family
#wait 400
colors and doesn't quite clash with his shirt but doesn't compliment it either.
However, this is offset by a clan tartan of the same colors which covers most
of his midsection, wrapping around the shoulder. He holds himself well, with
#wait 400
confidence and showing privilege, but holds no note of snobishness, just a cold
chill that can often be felt tangibly. If and when he smiles~, there is a hint
of something amiss, something that most would not smile about~.~{x
~.f
~@


didn't work
_________________
Listen to my Guitar - If you like it, listen to more
Reply with quote
chamenas
Wizard


Joined: 26 Mar 2008
Posts: 1547

PostPosted: Sat May 03, 2008 9:53 pm   
 
nor

Code:

pmote shudders and changes form, resuming his human shape.
desc ~+~+
~.c
#wait 400
~{DThis pale, thin figure before you has a remarkably dark attractiveness. His hair
is a jet black in comparison to the cold white of his skin. Cut short, it still
hangs in thick and full around his head in a neat trim. A long celtic streak
#wait 400
runs just off center along the left side of his head, snow white in shade. His
face holds a look of complete indifference. The features are drawn in contemplation
#wait 400
but his eyes rarely seem focused on anything around him. However, when he does
regard what is right in front of him, there is a certain kinetic energy given
that can sometimes cause chills or goosebumps in those who he looks at. His
#wait 400
eyes are dark and black, they shine with intelligence but appear very empty
and black in other ways, though a closer look would expose that they are merely
a dark green color. A something that could possibly described as a cold
malice and rage.
#wait 400
#SEND {%cr}
His frame is thin and dressed in simple, dark, earthy colors. His clothes hang
loose about his wiry frame so that it is hard to tell just how thin he is. He
wears a kilt around his legs. The kilt is black and blue to display his family
#wait 400
colors and doesn't quite clash with his shirt but doesn't compliment it either.
However, this is offset by a clan tartan of the same colors which covers most
of his midsection, wrapping around the shoulder. He holds himself well, with
#wait 400
confidence and showing privilege, but holds no note of snobishness, just a cold
chill that can often be felt tangibly. If and when he smiles~, there is a hint
of something amiss, something that most would not smile about~.~{x
~.f
~@
_________________
Listen to my Guitar - If you like it, listen to more
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4692
Location: Pensacola, FL, USA

PostPosted: Sat May 03, 2008 11:11 pm   
 
looks the same in both did you try '#SEND {}'?
_________________
Discord: Shalimarwildcat
Reply with quote
gamma_ray
Magician


Joined: 17 Apr 2005
Posts: 496

PostPosted: Sat May 03, 2008 11:32 pm   
 
Just use #cr ?
Reply with quote
chamenas
Wizard


Joined: 26 Mar 2008
Posts: 1547

PostPosted: Sun May 04, 2008 12:03 am   
 
Code:

pmote shudders and changes form, resuming his human shape.
desc ~+~+
~.c
#wait 400
~{DThis pale, thin figure before you has a remarkably dark attractiveness. His hair
is a jet black in comparison to the cold white of his skin. Cut short, it still
hangs in thick and full around his head in a neat trim. A long celtic streak
#wait 400
runs just off center along the left side of his head, snow white in shade. His
face holds a look of complete indifference. The features are drawn in contemplation
#wait 400
but his eyes rarely seem focused on anything around him. However, when he does
regard what is right in front of him, there is a certain kinetic energy given
that can sometimes cause chills or goosebumps in those who he looks at. His
#wait 400
eyes are dark and black, they shine with intelligence but appear very empty
and black in other ways, though a closer look would expose that they are merely
a dark green color. A something that could possibly described as a cold
malice and rage.
#wait 400
#cr
His frame is thin and dressed in simple, dark, earthy colors. His clothes hang
loose about his wiry frame so that it is hard to tell just how thin he is. He
wears a kilt around his legs. The kilt is black and blue to display his family
#wait 400
colors and doesn't quite clash with his shirt but doesn't compliment it either.
However, this is offset by a clan tartan of the same colors which covers most
of his midsection, wrapping around the shoulder. He holds himself well, with
#wait 400
confidence and showing privilege, but holds no note of snobishness, just a cold
chill that can often be felt tangibly. If and when he smiles~, there is a hint
of something amiss, something that most would not smile about~.~{x
~.f
~@


doesn't work, neither does #send {#cr}, nor did #send {}
_________________
Listen to my Guitar - If you like it, listen to more
Reply with quote
chamenas
Wizard


Joined: 26 Mar 2008
Posts: 1547

PostPosted: Sun May 04, 2008 6:15 pm   
 
Still not sure how to get it to work...
_________________
Listen to my Guitar - If you like it, listen to more
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Sun May 04, 2008 6:44 pm   
 
I guess the first stupid question is can you put a blank line in the desc if you manually send the text? If you find this to be answered with no then stop.

Next stupid question is why do you have a "#WAIT 400" between each line?

Final question needs only be asked if you answered something like, "they are needed," to the second question; and that would be why don't you have a "#WAIT 400" after the "#CR"?
_________________
The only good questions are the ones we have never answered before.
Search the Forums
Reply with quote
chamenas
Wizard


Joined: 26 Mar 2008
Posts: 1547

PostPosted: Sun May 04, 2008 7:35 pm   
 
Vijilante wrote:
I guess the first stupid question is can you put a blank line in the desc if you manually send the text? If you find this to be answered with no then stop.


I assumed it to be the case initially and tried it, but, unfortunately it didn't work. I even tried two blank lines.

Quote:

Next stupid question is why do you have a "#WAIT 400" between each line?


If I don't it send all of the lines at once which exceeds the buffer for the MUD and disconnects me.

Quote:

Final question needs only be asked if you answered something like, "they are needed," to the second question; and that would be why don't you have a "#WAIT 400" after the "#CR"?

Because there's no characters to buffer, but if it might work I'll try it.
Reply with quote
Dharkael
Enchanter


Joined: 05 Mar 2003
Posts: 593
Location: Canada

PostPosted: Sun May 04, 2008 7:57 pm   
 
If you want the text to maintain the same format as you have posted here maybe you need to send each line seperately
A la:
Code:
#SEND "{DThis pale, thin figure before you has a remarkably dark attractiveness. His hair"
#SEND "is a jet black in comparison to the cold white of his skin. Cut short, it still"
#SEND "hangs in thick and full around his head in a neat trim. A long celtic streak"
#SEND "runs just off center along the left side of his head, snow white in shade. His"
#SEND "face holds a look of complete indifference. The features are drawn in contemplation"
#SEND "but his eyes rarely seem focused on anything around him. However, when he does"
#SEND "regard what is right in front of him, there is a certain kinetic energy given"
#SEND "that can sometimes cause chills or goosebumps in those who he looks at. His"
#SEND "eyes are dark and black, they shine with intelligence but appear very empty"
#SEND "and black in other ways, though a closer look would expose that they are merely"
#SEND "a dark green color. A something that could possibly described as a cold"
#SEND "malice and rage."
#SEND ""
#SEND "His frame is thin and dressed in simple, dark, earthy colors. His clothes hang"
#SEND "loose about his wiry frame so that it is hard to tell just how thin he is. He"
#SEND "wears a kilt around his legs. The kilt is black and blue to display his family"
#SEND "colors and doesn't quite clash with his shirt but doesn't compliment it either."
#SEND "However, this is offset by a clan tartan of the same colors which covers most"
#SEND "of his midsection, wrapping around the shoulder. He holds himself well, with"
#SEND "confidence and showing privilege, but holds no note of snobishness, just a cold"
#SEND "chill that can often be felt tangibly. If and when he smiles, there is a hint"
#SEND "of something amiss, something that most would not smile about.{x"
#SEND ""



mixin in #WAITS every few lines or so, or whatever your mud might require
_________________
-Dharkael-
"No matter how subtle the wizard, a knife between the shoulder blades will seriously cramp his style."
Reply with quote
chamenas
Wizard


Joined: 26 Mar 2008
Posts: 1547

PostPosted: Sun May 04, 2008 8:20 pm   
 
Code:

#SEND "pmote shudders and changes form, resuming his human shape."
#SEND "desc ++"
#SEND ".c"
#WAIT 400
#SEND "{DThis pale, thin figure before you has a remarkably dark attractiveness. His hair"
#SEND "is a jet black in comparison to the cold white of his skin. Cut short, it still"
#SEND "hangs in thick and full around his head in a neat trim. A long celtic streak"
#WAIT 400
#SEND "runs just off center along the left side of his head, snow white in shade. His"
#SEND "face holds a look of complete indifference. The features are drawn in contemplation"
#SEND "but his eyes rarely seem focused on anything around him. However, when he does"
#SEND "regard what is right in front of him, there is a certain kinetic energy given"
#WAIT 400
#SEND "that can sometimes cause chills or goosebumps in those who he looks at. His"
#SEND "eyes are dark and black, they shine with intelligence but appear very empty"
#SEND "and black in other ways, though a closer look would expose that they are merely"
#SEND "a dark green color. A something that could possibly described as a cold"
#WAIT 400
#SEND "malice and rage."
#SEND ""
#WAIT 400
#SEND "His frame is thin and dressed in simple, dark, earthy colors. His clothes hang"
#SEND "loose about his wiry frame so that it is hard to tell just how thin he is. He"
#SEND "wears a kilt around his legs. The kilt is black and blue to display his family"
#WAIT 400
#SEND "colors and doesn't quite clash with his shirt but doesn't compliment it either."
#SEND "However, this is offset by a clan tartan of the same colors which covers most"
#SEND "of his midsection, wrapping around the shoulder. He holds himself well, with"
#SEND "confidence and showing privilege, but holds no note of snobishness, just a cold"
#WAIT 400
#SEND "chill that can often be felt tangibly. If and when he smiles, there is a hint"
#SEND "of something amiss, something that most would not smile about.{x"
#WAIT 400
#SEND ".f"
#SEND "@"


Didn't work. No space.
_________________
Listen to my Guitar - If you like it, listen to more
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Sun May 04, 2008 8:39 pm   
 
chamenas wrote:
Vijilante wrote:
I guess the first stupid question is can you put a blank line in the desc if you manually send the text? If you find this to be answered with no then stop.


I assumed it to be the case initially and tried it, but, unfortunately it didn't work. I even tried two blank lines.

From this I gather you preformed a series of entries at the command line similar to this list of procedural steps.

First you entered
desc++
Then entered
.c
Next you declared
{DThis pale, thin figure before you has a remarkably dark attractiveness. His hair
Then you entered a blank line

Next you sent another line
is a jet black in comparison to the cold white of his skin. Cut short, it still
Finally you commanded
.f

Your answer to my stupid question says you did some such thing, and even took it a step further. Based on your answer the mud didn't allow the blank line, do you actually expect us to be able to change that? Or did you do something completely diferrent?
_________________
The only good questions are the ones we have never answered before.
Search the Forums
Reply with quote
chamenas
Wizard


Joined: 26 Mar 2008
Posts: 1547

PostPosted: Sun May 04, 2008 9:07 pm   
 
When I use the send command to go from .txt file into the MUD, I have blank lines that feed just fine. So it's not my MUD, it's about how the line is sending, because other programs AND CMUD have both been able to send blank lines just fine.
_________________
Listen to my Guitar - If you like it, listen to more
Reply with quote
chamenas
Wizard


Joined: 26 Mar 2008
Posts: 1547

PostPosted: Sun May 04, 2008 11:03 pm   
 
Simply put. I don't believe CMUD is feeding a blank line. It does when it comes from a text file. Is there a way I can just have the alias send the text file? I need it to wait between the lines though, like the actual text file command.
_________________
Listen to my Guitar - If you like it, listen to more
Reply with quote
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: Sun May 04, 2008 11:15 pm   
 
Use the script debugger to see what's happening (turn on raw input/output). It should be sending properly if you use #send %cr.
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
chamenas
Wizard


Joined: 26 Mar 2008
Posts: 1547

PostPosted: Mon May 05, 2008 12:32 am   
 
This one worked:

Code:

#SEND "pmote shudders and changes form, resuming his human shape."
#SEND "desc ++"
#SEND ".c"
#WAIT 400
#SEND "{DThis pale, thin figure before you has a remarkably dark attractiveness. His hair"
#SEND "is a jet black in comparison to the cold white of his skin. Cut short, it still"
#SEND "hangs in thick and full around his head in a neat trim. A long celtic streak"
#WAIT 400
#SEND "runs just off center along the left side of his head, snow white in shade. His"
#SEND "face holds a look of complete indifference. The features are drawn in contemplation"
#SEND "but his eyes rarely seem focused on anything around him. However, when he does"
#SEND "regard what is right in front of him, there is a certain kinetic energy given"
#WAIT 400
#SEND "that can sometimes cause chills or goosebumps in those who he looks at. His"
#SEND "eyes are dark and black, they shine with intelligence but appear very empty"
#SEND "and black in other ways, though a closer look would expose that they are merely"
#SEND "a dark green color. A something that could possibly described as a cold"
#WAIT 400
#SEND "malice and rage."
#SEND { %cr }
#WAIT 400
#SEND "His frame is thin and dressed in simple, dark, earthy colors. His clothes hang"
#SEND "loose about his wiry frame so that it is hard to tell just how thin he is. He"
#SEND "wears a kilt around his legs. The kilt is black and blue to display his family"
#WAIT 400
#SEND "colors and doesn't quite clash with his shirt but doesn't compliment it either."
#SEND "However, this is offset by a clan tartan of the same colors which covers most"
#SEND "of his midsection, wrapping around the shoulder. He holds himself well, with"
#SEND "confidence and showing privilege, but holds no note of snobishness, just a cold"
#WAIT 400
#SEND "chill that can often be felt tangibly. If and when he smiles, there is a hint"
#SEND "of something amiss, something that most would not smile about.{x"
#WAIT 400
#SEND ".f"
#SEND "@"
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
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

© 2009 Zugg Software. Hosted by Wolfpaw.net