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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
Karnie
Beginner


Joined: 05 Feb 2002
Posts: 13
Location: United Kingdom

PostPosted: Mon May 05, 2003 6:09 pm   

Changing say to something else
 
I'd like to change say to show something else e.g say hello, pleased to meet you would give whispers in a lilting accent hello, pleased to meet you

This would improve my role play a great deal.
I can do this with emotes but it is a bit cumberson. Anyone got a suggestion?

Many thanks in advance.

Karnie of Kandor
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Mon May 05, 2003 6:11 pm   
 
#AL say {whisper in a lilting accent}

LightBulb
Advanced Member
Reply with quote
Karnie
Beginner


Joined: 05 Feb 2002
Posts: 13
Location: United Kingdom

PostPosted: Mon May 05, 2003 6:15 pm   
 
Wow that was fast Lightbulb, and appreciated :)

Yeah easy answer to the question. Was obvious when I seen it. I posted because I had seen someone else do this using a more complicated script using emote and %1 within it.

This wil work and I am chuffed. :)

Taa

Karnie of Kandor
Reply with quote
Karnie
Beginner


Joined: 05 Feb 2002
Posts: 13
Location: United Kingdom

PostPosted: Fri May 09, 2003 6:06 pm   
 
Been testing and it did not work Lightbulb. The reason being that the say command must go to the mud so it knows that I am trying to say something. Making an alias would make the mud not process what I'm trying to say.

I think I need something that will take what I am saying, hold it and place the emote 'whispers in a sweet voice' before the words that follow the say command.

Im not sure if I have made this clear, I'm a little confused myself ;-p




Karnie of Kandor
Reply with quote
itsmarty
Novice


Joined: 29 Jan 2002
Posts: 37
Location: USA

PostPosted: Fri May 09, 2003 6:26 pm   
 
quote:

I think I need something that will take what I am saying, hold it and place the emote 'whispers in a sweet voice' before the words that follow the say command.

Karnie of Kandor



You should post exact examples of what you want sent to the mud, and what you want to type to send it.

In the meantime, try:
#AL say {/emote Whispers in a sweet voice }

Martin
Simutronics' Dragonrealms Player
www.play.net/dr
Reply with quote
Karnie
Beginner


Joined: 05 Feb 2002
Posts: 13
Location: United Kingdom

PostPosted: Fri May 09, 2003 7:12 pm   
 
Ok good idea Itsmarty :) I shoulda done it in the first place

What I type to the mud

say hello Bob

What I would like to send to mud is

whispers in a sweet voice 'hello Bob'

Bob would see on his screen

Karnie whispers in a sweet voice 'hello Bob'

Hope this makes things clearer :)



Karnie of Kandor
Reply with quote
Knos
Newbie


Joined: 10 Apr 2003
Posts: 4
Location: United Kingdom

PostPosted: Fri May 09, 2003 9:16 pm   
 
I'm not sure if you can do this with Aliases, but here goes:

#AL say (*) {emote whispers in a lilting accent '%1'}

Hope that helps.
If it doesn't feel free to beat me with a stick.
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Fri May 09, 2003 10:01 pm   
 
You claim that you need to send "say" to the MUD, but not one of your examples has shown that.

If you need the "say" command to go to the MUD, there are two options.

1. Use a different name for the alias
#AL sweet {say whispers in a sweet voice '%-1'}

2. Use the quote character (tilde) ~ before the "say" in the alias value.
#AL say {~say whispers in a sweet voice '%-1'}

Or, if we take what you put in your example
quote:
What I type to the mud

say hello Bob

What I would like to send to mud is

whispers in a sweet voice 'hello Bob'

#AL say {whispers in a sweet voice '%-1'}

Which is only a minor change from my initial suggestion.

LightBulb
Advanced Member
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD 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