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
➜ VBscript
➜ trigger on off
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| WRTIII
Canada (76 posts) Bio
|
| Date
| Sun 08 Jun 2003 06:15 PM (UTC) |
| Message
| Ok I am stumped onthis one I know it's simple but bleh...
In the game you can see further ahead than just the room your are in.. they are not really rooms they are proper streets..
I might see an item...
You see a young messenger and a thin telescope behind
you.
but I still need to walk east 3 times to get to it.
The problem I am having is that when it first sees it It tries to Get it and since I am not close enough I get the message..
A thin telescope is too far away to be picked up.
which sets the trigger off again
A thin telescope is too far away to be picked up.
and again
and so on so forth instantly spamming the game with many lines of scroll by the time I finally reach the item and pick it up so that the trigger stops because it trys to pick it up the last time and it says There is nothing there. and does not match.
I figure if I could just make it turn off the trigger for 2 second then at least I would only be sending 1 command every two seconds not 10 in 1 second.
Thanks
WRTIII | | Top |
|
| Posted by
| Nick Gammon
Australia (23,165 posts) Bio
Forum Administrator |
| Date
| Reply #1 on Sun 08 Jun 2003 09:44 PM (UTC) |
| Message
| Your triggers should be organised so they don't match the wrong things.
For example, you could have a trigger:
* is too far away to be picked up.
This could be evaluated early (ie. have a low sequence number) and thus stop the later trigger matching so it doesn't try to get it again. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | | Top |
|
| Posted by
| WRTIII
Canada (76 posts) Bio
|
| Date
| Reply #2 on Mon 09 Jun 2003 12:44 AM (UTC) |
| Message
| I had tried that but it didn't work but I realized I had put keep evaluting and was not using sequence. It works perfect now Thank you very much. hehe I'm actually learning things woo hoo :)
thank you
wrtiii | | 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.
12,887 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top