Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
Rambo
Newbie


Joined: 01 Jun 2004
Posts: 8
Location: USA

PostPosted: Tue Jun 01, 2004 9:16 am   

Tell/Chat monitor window.
 
This has probably been covered to death, but I'm new to zMUD and this kind of trigger or script or whatever it's called. I've looked through everything I could find on the forums, in the finished scripts, and all the help files in zmud, but I'm still lost as to how to make it work properly. Anyways, what I want is, all the tells, tell replies, OOCs, and clantalks put in a new window, and hopefully in color. If somebody could show me how to make, or point me to a website that shows how to do this in depth that would be great

Channels look like this:
Someone tells you 'Hi!'
Someone replies 'Hi!'
[Someone on ClanTalk] 'Hey.'
Someone OOC's: something

Thanks in advance for any help that can be given.

I am also having trouble with this trigger:

Pattern:
--> %1 was BRUTALLY KILLED by %2 at %3

Value:
gecho {RM{ru{Rr{rd{Rer{D, {RD{re{Ra{rt{Rh{D, {RK{ri{Rl{rl{D:{B %1 {Wjust got killed by{R %2{x

But nothing happens, I had this trigger working fine at one point, but then I must have changed something, I don't know what, because I've gone over everything a hundred times, deleted and remade the trigger, and all that, but still nothing.

I also get a syntax error, from that value, but that doesn't seem to matter because I have other triggers that have syntax errors and still work.
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4769
Location: Pensacola, FL, USA

PostPosted: Tue Jun 01, 2004 11:43 am   
 
#TR {{tells you|replies|on ClanTalk|OOC's}} {#CAP Chats}

use (%w) in place of your %1-3 in the pattern

the sytax error is prolly from all the open {'s
Reply with quote
Rambo
Newbie


Joined: 01 Jun 2004
Posts: 8
Location: USA

PostPosted: Tue Jun 01, 2004 12:54 pm   
 
It seems to partially work. It opens a new window like I want, but whenever it sees the channels, it puts:

[{tells you|replies|on ClanTalk|OOC's}-> #CAP Chats]

in the new window, and not what was said. Do I just input that string you gave me in the command line? I'm sorry if there was something else I'm supposed to do with it, but as I said, I'm completely new to this kind of thing. Only been using it for a few days.

Also, the trigger with (%w) still does not work. I'm thinking maybe I messed with some pref that I haven't found yet because that's the only thing I can think of to make such a simple trigger not work.

And yet another question, I'm sorry to be such a newbie.

Is there a #command to turn on/off a certain trigger? I don't want them all off, just a certain trigger.
Reply with quote
Aarlot
Adept


Joined: 30 Dec 2003
Posts: 226

PostPosted: Tue Jun 01, 2004 3:52 pm   
 
For turning a certain trigger on/off, you can give it an ID (Find the trigger, go to options, there's a field there for ID). Then, #T+ triggerID and #T- triggerID will turn on/off the trigger.
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Tue Jun 01, 2004 5:12 pm   
 
Yes, just put Shalimar's string in the command line.

Pattern:
--> (%w) was BRUTALLY KILLED by (%w) at
Value:
gecho ~{RM~{ru~{Rr~{rd~{Rer~{D, ~{RD~{re~{Ra~{rt~{Rh~{D, ~{RK~{ri~{Rl~{rl~{D:~{B %1 ~{Wjust got killed by~{R %2~{x

EDIT: Added parens
Reply with quote
Rambo
Newbie


Joined: 01 Jun 2004
Posts: 8
Location: USA

PostPosted: Tue Jun 01, 2004 10:53 pm   
 
Thanks peoples, the chat thing works great. But I'm finding it's to spammy, heh. I'll figure out how to make them each go to their own window myself though. Shouldn't be terrible hard.

What was making it not work was that I had checked Show Triggers in the script parser. So yeah, thanks for the help.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
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

© 2009 Zugg Software. Hosted by Wolfpaw.net