|
WayharenMudding Newbie
Joined: 05 Dec 2002 Posts: 9 Location: USA
|
Posted: Thu Nov 06, 2003 7:29 pm
A little question about say/tell/gt/whisper/etc. |
Is there an easy, foolproof way to replace a word or two out of a line of text? For instance, I want to make a bunch of words that will change to something different since I am a decently slow typer.
Example:
say Hello there, could I interest you in some learning?
(will change to)
say H'lo der, could meh interest yas in some learnin'?
Is there a simple way to do this? I've tried #ONINPUT, but that didn't work for me, if someone could show me how. Thanks. |
|
|
|
hatespyware Apprentice
Joined: 16 Dec 2002 Posts: 103
|
Posted: Thu Nov 06, 2003 8:29 pm |
I'd probably make an alias that just repeatadly calls %replace. As a possible alternative, you could look into my translation routines... maybe the drawl or jive would be suitable for you.
Code: |
#ALIAS drawl {#var SOAPClient %comcreate( "MSSOAP.SOAPClient");#com @SOAPClient.mssoapinit(http://ww6.borland.com/webservices/BorlandBabel/BorlandBabel.exe/wsdl/IBorlandBabel);say @SOAPClient.BabelFish("Drawl", %-1)}
|
drawl "Hello there, could I interest you in some learning?"
You say 'Hello thare, could Ah interest yawl in sum learning?' |
|
|
|
seamer Magician
Joined: 26 Feb 2001 Posts: 358 Location: Australia
|
Posted: Fri Nov 07, 2003 1:56 am |
If you place "" around the %-1, you no longer need to use drawl "hello", siply using drawl blahblahblah will work just the same (and is less hassle).
#ALIAS drawl {#var SOAPClient %comcreate( "MSSOAP.SOAPClient");#com @SOAPClient.mssoapinit(http://ww6.borland.com/webservices/BorlandBabel/BorlandBabel.exe/wsdl/IBorlandBabel);say @SOAPClient.BabelFish("Drawl", "%-1")} |
|
|
|
|
|
|
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
|
|