|
SiberianPhoenix Newbie
Joined: 04 Dec 2003 Posts: 6 Location: USA
|
Posted: Thu Dec 04, 2003 8:52 pm
Newb to trigs |
I was hoping that someone could help me by writing a simple trig for me...
here's what I want to have happen:
(another chars name) tells you: (whatever they say)
is what happens
what I'd like is for what they say to be displayed in a message window ala #message
for instance:
Indra tells you: Hi Silverbolt how are you today?
then a message window pops up with the message
Indra just told you: Hi Silverbolt how are you today?
The mud I'm on when your a mage you get a hell of a lot of spam in many different colors... it's often difficult to tell when someone sends you a tell so I thought a message window would help immensely
Thanks for any help |
|
|
|
Snookumz Beginner
Joined: 19 Nov 2003 Posts: 13
|
Posted: Thu Dec 04, 2003 9:27 pm |
You're looking for the ECHO command.
I've never used it so not sure how to go about doing it.
Something like this
#ECHO %1 has just told you: %2
when Pattern = %1 tells you: %2
Not exactly sure. Might be wrong. |
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4691 Location: Pensacola, FL, USA
|
Posted: Thu Dec 04, 2003 9:41 pm |
#TR {(*) tells you(*)} {#MESS "%1 just told you%2"}
|
|
|
|
Talahaski Enchanter
Joined: 10 Oct 2000 Posts: 656 Location: USA
|
Posted: Thu Dec 04, 2003 9:41 pm |
#tr {tells you~:} {#cap Tells}
|
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Fri Dec 05, 2003 12:50 am |
#MESSAGE disappears after 10 seconds, so if you need to refer back to that tell after it goes away you're pretty much screwed. Making a Tells window like Talahaski shows is probably your best bet.
|
|
|
|
Snookumz Beginner
Joined: 19 Nov 2003 Posts: 13
|
Posted: Fri Dec 05, 2003 2:14 am |
Ok I just found this trigger that records tells and puts them into a text file (like notepad) and also has a "View Recent Tells" part.
(this is all zMud 5.55)
1) open a file when you log in to record all tells:
#FILE 1 my-tells.txt
2) Trigger to record tells in a file and add them to a list.
Pattern:
&dude tells you: &message
Action:
#WRITE 1 {@dude tells you: @message}
lasttell={@dude told you: @message}
tellslist={@tellslist|@lasttell}
#AD maxtell 1
3) Macro to show your recent tells.
#LOO 1,@maxtell {#echo %item(@tellslist, %{i}) }
maxtell=1
tellslist="" |
|
|
|
Toetag Magician
Joined: 10 Oct 2000 Posts: 356 Location: USA
|
Posted: Fri Dec 05, 2003 5:09 am |
another option:
Trigger pattern
^(%w) tells you: (*).
Command:
#WIN tells %1 tells you: %2
This opens up a new window called: tells. and displays the "tell" information. You can then get fancy and format the color of %1 and %2 so it looks real pretty. |
|
|
|
SiberianPhoenix Newbie
Joined: 04 Dec 2003 Posts: 6 Location: USA
|
Posted: Sat Dec 06, 2003 10:59 pm |
thanks guys... wow didn't expect this many replies so fast... I'm beginning to like this forum
|
|
|
|
SiberianPhoenix Newbie
Joined: 04 Dec 2003 Posts: 6 Location: USA
|
Posted: Wed Dec 10, 2003 10:17 pm |
hey my friends wants to acclomplish the same thing... only he uses the free version of zmud... many things seem different to me and I can't seem to get it worknig for him...
I ended up using for mine:
#trigger %1 tells you %2
#message %1 has told you: %2
works great for me as I only need it to popup and tell me what happened.. ten seconds is fine for both of us
however I try the same thing on his version and it returns nothing |
|
|
|
Toetag Magician
Joined: 10 Oct 2000 Posts: 356 Location: USA
|
Posted: Wed Dec 10, 2003 11:00 pm |
I don't have the Free version installed on my system as it wont run, but i've got a copy of the help file for it. There is no #MESSAGE command in the command reference of the help file.
Your best bet for him is to use the #WINDOW command instead.
#trigger %1 tells you %2
#WINDOW TELL %1 said: %2 |
|
|
|
|
|