|
Fenster Beginner
Joined: 04 Nov 2001 Posts: 11 Location: USA
|
Posted: Wed Nov 07, 2001 4:38 am
Simple question, maybe?! |
You're allowed to have 3 characters on at once. If I receive a 'tell' from some, I want it to emote 'thinks that So&So is talking to me!' and I want it to send that exact tell to the main charcter.
Here's what I got so far:
Pattern:
%w tells you '*'
Value:
emote thinks that %1 is talking to me!
tell mainchar ???????
I can't seem to figure out how to get it to tell the main character in the same trigger. Also, the '%1' in the middle of the sentence doesn't work. If you can figure those out, the other question is how do you make the person who is taking to you a different color?
Example:
Fenster thinks that So&So(BLUE) is talking to me!
I played with the #CW, but I failed in my attempts.
Edit:
This could start to get annoying, so a toggle swith might be nice. |
|
|
|
iljhar GURU
Joined: 10 Oct 2000 Posts: 1116 Location: USA
|
Posted: Wed Nov 07, 2001 7:40 am |
Why don't you try something like this:
#trigger {(%w) tells you '(*)'} {tell mainchar %1 said '"%2"' to me!}
Iljhar |
|
|
|
Castaway GURU
Joined: 10 Oct 2000 Posts: 793 Location: Swindon, England
|
Posted: Wed Nov 07, 2001 8:53 am |
What you were missing is the brackets around the pattern, which tell zMUD that you want to capture something in a variable.
%w tells you '*' - triggers on the correct line, but doesn't extract the values you want
(%w) tells you '(*)' - should work
(putting the name from %w in %1 and the text in %2)
Lady C. |
|
|
|
Apollyon Wanderer
Joined: 02 Oct 2001 Posts: 76 Location: USA
|
Posted: Wed Nov 07, 2001 8:31 pm |
insteead of telling the main char what the person just told you, you might want to try echos
#trigger {%w tells you, '(*)'} {#echo %1 just told (charname here) '%2'}
then to respond you might wanna try something like this
if your alt char is named bob...
#alias {btell} {:Bob:reply %-1}
whatever, i think echos still work better than one char telling the other what a person said to you, since its faster.. |
|
|
|
|
|