Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ MUSHclient
➜ General
➜ Trigger Question
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| DavdD
(4 posts) Bio
|
Date
| Sun 26 Aug 2001 12:19 AM (UTC) |
Message
| I'm trying to get my channel messsages to pop up in a different window and I followed what is in the FAQ on the website and nothing is working.. What can I do?
| Top |
|
Posted by
| Nick Gammon
Australia (23,133 posts) Bio
Forum Administrator |
Date
| Reply #1 on Sun 26 Aug 2001 12:38 AM (UTC) |
Message
| The question is, what have you done? The quickest method of letting us know is:
- Go into World Configuration -> Scripting and check "Enable Script", with the language set to VBscript.
- Type into the command window:
/world.debug "triggers"
- Copy the resulting text from the screen and paste into another message here. This will show what your trigger is exactly, and what flags you have set.
|
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| DavdD
(4 posts) Bio
|
Date
| Reply #2 on Sun 26 Aug 2001 01:29 AM (UTC) |
Message
| I followed what it said to do in the Faq...
Match on: <whatever matches the clan talk>
Send: %0
Send to: Notepad (append)
Omit from output: checked
Label: clan_messages
and nothing happened
clicked regular expression and it opened the new window.. but only ould put in 1 letter lines.. a bunch of p's and u's etc | Top |
|
Posted by
| Nick Gammon
Australia (23,133 posts) Bio
Forum Administrator |
Date
| Reply #3 on Sun 26 Aug 2001 02:11 AM (UTC) |
Message
| You are going to have to give me more information than that.
If you really typed in:
Match on: <whatever matches the clan talk>
Then I can imagine it wouldn't work. If not, you need to tell me what you typed as:
<whatever matches the clan talk>
Otherwise it will only match on "<whatever matches the clan talk>" (literally).
To help me, copy and paste a line or two of channel messages so I know what they look like.
|
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| DavdD
(4 posts) Bio
|
Date
| Reply #4 on Sun 26 Aug 2001 03:10 AM (UTC) |
Message
| heh.. forgive me.. lol..
I typed in
[Public]
here is an example of the channel text
[Public] Servantes has joined this channel. | Top |
|
Posted by
| Nick Gammon
Australia (23,133 posts) Bio
Forum Administrator |
Date
| Reply #5 on Sun 26 Aug 2001 08:32 AM (UTC) Amended on Sun 26 Aug 2001 08:33 AM (UTC) by Nick Gammon
|
Message
| Ah OK.
If you checked "regular expression" then the square brackets have a special meaning. It will match on a single character, that character being:
"P" or "u" or "b" or "l" or "i" or "c"
The simplest solution is to *uncheck* "regular expression" and make it match on:
[Public]*
That means [Public] followed by anything.
Alternatively, keep it as a regular expression but make it read:
^\[Public\].*
The backslashes say to treat the brackets as normal characters. The "^" means "start of line".
|
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| DavdD
(4 posts) Bio
|
Date
| Reply #6 on Sun 26 Aug 2001 07:12 PM (UTC) |
Message
| That worked.. thank you.
| Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
16,081 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top