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
➜ Lua
➜ 2 or more vars in one trigger?
2 or more vars in one trigger?
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| ThumpieBunnyEve
(10 posts) Bio
|
Date
| Wed 03 Jun 2009 07:20 PM (UTC) |
Message
| I'm working with the Triggers for a world, and i came across the need to change 2 script variables which i set, at the same time.
trigtxtclr
and
trigbakclr
need to be changed when
^In a page pose to you, (.*)$
occurs.
Now i think i can just have 2 triggers go off, to change the 2 vars. but i was just wondering if there is a simply way that i'm missing, to change them both at once with just 1 trigger?
TY,
~TBE
| Top |
|
Posted by
| Nick Gammon
Australia (23,158 posts) Bio
Forum Administrator |
Date
| Reply #1 on Wed 03 Jun 2009 09:07 PM (UTC) |
Message
| Use "send to script" and do two SetVariable statements. |
- 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.
8,459 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top