|
Skaphia Beginner
Joined: 18 Dec 2002 Posts: 27 Location: USA
|
Posted: Fri Jun 20, 2003 9:18 am
input trigger problems |
I am attempting to create a trigger that replaces all the letters said with another character. I have a few problems, I can't get the syntax correct for replacing each different letter in a word and I can't keep the mud from receiving the initial command. Example:
say abc de fgh
That is what the mud sees and then it returns:
You say 'abc de fgh'
What I am trying to do is replace abcdefgh with say.. zyxwvuts, a with z, b with y etc, so that when it inputs it into the mud it returns:
You say 'zyx wv uts'
and nothing else. Also, I would like to do the opposite. Whenever anyone says something:
%1 says '%2'
The trigger unscrambles/scrambles what you actually see.
Any help would be so appreciated! |
|
|
|
ogretooth Newbie
Joined: 16 Jun 2003 Posts: 6
|
Posted: Fri Jun 20, 2003 10:35 am |
You should check out the 'Decoder Ring' script in finished scripts for a way to do this. Sorry don't have a link, but you can try a search.
Have fun!
OgreTooth |
|
|
|
Kjata GURU
Joined: 10 Oct 2000 Posts: 4379 Location: USA
|
Posted: Fri Jun 20, 2003 11:28 am |
Take a look at the %subchar function.
Kjata |
|
|
|
Skaphia Beginner
Joined: 18 Dec 2002 Posts: 27 Location: USA
|
Posted: Sat Jun 21, 2003 12:20 pm |
perhaps I should mention I have vs. 5.55, i can't seem to find anything that will help.
|
|
|
|
|
|