|
bkarasek Beginner
Joined: 01 Jul 2002 Posts: 17 Location: USA
|
Posted: Wed Jul 03, 2002 6:09 pm
Hissing Script |
I am looking for a hissing script, such that every s I type is doubled. Example:
I type say This is a sample.
The MUD received Thiss is a ssample.
There is a post regarding this elsewhere, but the posted script did not work. I have seen the stuttering script and while it is elegant, It doesn't fit my needs. ANy help? |
|
|
|
TonDiening GURU
Joined: 26 Jul 2001 Posts: 1958 Location: Canada
|
|
|
|
bkarasek Beginner
Joined: 01 Jul 2002 Posts: 17 Location: USA
|
Posted: Wed Jul 03, 2002 6:36 pm |
Yes, thank you, I did that as well. The hissing script listed under that search crashed my computer. I need a new one, better one, etc.
|
|
|
|
TonDiening GURU
Joined: 26 Jul 2001 Posts: 1958 Location: Canada
|
Posted: Wed Jul 03, 2002 6:56 pm |
Hmm perhaps you should uncheck the
trigger on trigger in the options tab. I find if
you don't you easily loop things especially
with #ONINPUT triggers.
To replicate every s into 2
#ONINPUT {({say|gossip|ct}) (*)} {%1 %replace(%2,"s","ss")}
Ton Diening
Providing untested answers that tend to be
more complicated than others. |
|
|
|
bkarasek Beginner
Joined: 01 Jul 2002 Posts: 17 Location: USA
|
Posted: Wed Jul 03, 2002 8:08 pm |
Okay, I must be dumber than I thought. When I paste
#ONINPUT {({say|gossip|ct}) (*)} {%1 %replace(%2,"s","ss")}
Into the text box, it creates a trigger as it should, but it does not work. I get the MUD's error message for entering a non-command command. |
|
|
|
TonDiening GURU
Joined: 26 Jul 2001 Posts: 1958 Location: Canada
|
Posted: Wed Jul 03, 2002 8:20 pm |
Just surfed the forums to find the option
to take the trigger on trigger off.
Cut and paste this into the command line
area where you type commands to the mud.
I am not sure what you mean by text box.
#ONINPUT {({say|gossip|ct}) (%*)} {%1 %replace( %2, "s", "ss")} {notrig}
Ton Diening
Providing untested answers that tend to be
more complicated than others. |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Fri Jul 05, 2002 7:14 am |
A simple alias should do the trick. You might be able to combine these into one alias, but I've only tested them as individual ones.
#AL say {~say %replace("%-1",s,ss)}
#AL gossip {~gossip %replace("%-1",s,ss)}
#AL ct {~ct %replace("%-1",s,ss)}
LightBulb
Senior Member |
|
|
|
|
|