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
➜ Group not saving on trigger
Group not saving on trigger
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Zeno
USA (2,871 posts) Bio
|
Date
| Mon 06 Aug 2007 10:55 PM (UTC) |
Message
| I bring up a trigger of mine, type in a group name and click OK. I go back to the trigger. The group name is blank again. Any idea why it would do this? Group name is "g1". |
Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org | Top |
|
Posted by
| Nick Gammon
Australia (23,162 posts) Bio
Forum Administrator |
Date
| Reply #1 on Wed 08 Aug 2007 01:37 AM (UTC) |
Message
| Seems to work for me. Do you close the trigger list too? Or just edit the trigger, add a group name, click OK, and edit it again? |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Zeno
USA (2,871 posts) Bio
|
Date
| Reply #2 on Wed 08 Aug 2007 01:58 AM (UTC) |
Message
| The strange thing is that this is the only trigger it doesn't save on.
And yeah, I've tried hitting Ok on the trigger list too. Still doesn't save. |
Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org | Top |
|
Posted by
| Nick Gammon
Australia (23,162 posts) Bio
Forum Administrator |
Date
| Reply #3 on Wed 08 Aug 2007 02:41 AM (UTC) |
Message
| Maybe you have a script that is changing the group, or deleting and re-adding the trigger? |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Zeno
USA (2,871 posts) Bio
|
Date
| Reply #4 on Wed 08 Aug 2007 02:45 AM (UTC) Amended on Wed 08 Aug 2007 02:46 AM (UTC) by Zeno
|
Message
| The only script I have is on a macro, so that isn't being set off at all.
Here is the trigger that fails to set a group name on it:
<trigger
custom_colour="17"
enabled="y"
match="(.*) tells you '(.*)'|(.*) says '(.*)'|(.*) whispers to you '(.*)'|(.*)Tion(.*)|(.*)tion(.*)"
regexp="y"
send_to="12"
sequence="100"
sound="C:\DXball\DX-Ball 2\DX-Ball 2\sounds\Peow!.wav"
other_back_colour="white"
>
<send>SetStatus ("Last trig: %0" )</send>
</trigger>
Everything else has a group name. This one just won't let me add a group name. |
Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org | Top |
|
Posted by
| Nick Gammon
Australia (23,162 posts) Bio
Forum Administrator |
Date
| Reply #5 on Wed 08 Aug 2007 05:02 AM (UTC) |
Message
| Well, I can reproduce it now. :)
Isn't that strange? I'll run it through the debugger. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Nick Gammon
Australia (23,162 posts) Bio
Forum Administrator |
Date
| Reply #6 on Wed 08 Aug 2007 05:30 AM (UTC) |
Message
| I can reproduce it reliably, even in the debugger, but can't work out why it is doing it. There is a big "if" test to see if anything has changed (eg. the group) but it fails that, and since it thinks nothing has changed, it doesn't write the change to the trigger.
You can work around that by changing something else at the same time (eg. "send to" to something else), which will force the group to be recorded, and then change the "send to" field back again.
I will keep trying to work out what it thinks it is doing. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Nick Gammon
Australia (23,162 posts) Bio
Forum Administrator |
Date
| Reply #7 on Wed 08 Aug 2007 05:44 AM (UTC) |
Message
| I found the problem - a misplaced bracket that made the fact that you had a sound there make it think the trigger hadn't changed.
It was one of those things that compiled OK, it just had a different sense to what I thought it did. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | 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.
15,080 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top