Reply to this subject
Start a new subject
 
Refresh page
| Posted by |
Scarn
(44 posts) bio
|
| Date |
Tue 18 Oct 2005 06:37 PM (UTC) [ quote
] |
| 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) [ quote
] 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
(44 posts) bio
|
| Date |
Reply #2 on Wed 19 Oct 2005 06:22 PM (UTC) [ quote
] |
| 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) [ quote
] |
| 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 (18,770 posts) bio
Forum Administrator |
| Date |
Reply #4 on Thu 20 Oct 2005 06:23 AM (UTC) [ quote
] |
| 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.
1,992 views.
Reply to this subject
Start a new subject
 
Refresh page
top
Comments to:
Gammon Software support
Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )