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
➜ Special Speedwalk!
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Scarn
(47 posts) Bio
|
Date
| Tue 18 Oct 2005 06:37 PM (UTC) |
Message
| Hi, I'd like to make a speed walk that stops when it meets a certain NPC and can be continued...for example if im hunting orcs and run the speed walkalias of...10s,10e...I would meet an orc 5s and stop...kill the orc and then carry on (5s,10e).
Thanks,
Scarn | Top |
|
Posted by
| Ekerim
Sweden (18 posts) Bio
|
Date
| Reply #1 on Tue 18 Oct 2005 07:04 PM (UTC) Amended on Tue 18 Oct 2005 07:06 PM (UTC) by Ekerim
|
Message
| Check this link...
http://www.gammon.com.au/forum/bbshowpost.php?bbsubject_id=2402
It's not in VBScript but it contains solutions for your problem in both Lua and PerlScript.
For the PerlScript version to work, all you would have to do is to make a trigger that sets the global variable $pauseQueue to a non-zero integer when you find the orc...and then just use the resumequeue alias I wrote in a post further down in the thread.
// Fredrik | Top |
|
Posted by
| Scarn
(47 posts) Bio
|
Date
| Reply #2 on Wed 19 Oct 2005 06:22 PM (UTC) |
Message
| Heh. Anyone fancy making it in VBscript...I think it will help a lot of people:) | Top |
|
Posted by
| Ekerim
Sweden (18 posts) Bio
|
Date
| Reply #3 on Wed 19 Oct 2005 08:28 PM (UTC) |
Message
| Ohhh...VBscript isn't helping anyone !
Didn't your mother tell you, Mr. Gates created VBScript to trick potential real programmers to the Dark Side of the force! :)
// Fredrik | Top |
|
Posted by
| Nick Gammon
Australia (23,133 posts) Bio
Forum Administrator |
Date
| Reply #4 on Thu 20 Oct 2005 06:23 AM (UTC) |
Message
|
Quote:
Anyone fancy making it in VBscript?
There isn't really any need. You can put something like that into a small plugin. Each plugin can use a different language. |
- 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.
17,153 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top