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
➜ Tips and tricks
➜ Legal Botting
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| Curiosity
(1 post) Bio
|
| Date
| Mon 29 Sep 2008 01:00 PM (UTC) |
| Message
| Hi
I play on an swr where restricted botting is legal for a particular skill. (The class it's for has one skill for the first 30 levels and is very hard to level) and I know pretty much nothing about triggers and timers and I was wondering if anyone could explain to me how that type of thing works. There's a restricted time period with a cool down period in between and I really don't want to waist that time if I'm not doing it right and it's going to not help me any. Can someone please help? | | Top |
|
| Posted by
| Nick Gammon
Australia (23,173 posts) Bio
Forum Administrator |
| Date
| Reply #1 on Mon 29 Sep 2008 08:41 PM (UTC) |
| Message
| For anyone to help you it would help to copy and paste the relevant messages from the MUD.
Basically you would need trigger(s) to match the messages, and send the appropriate responses. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | | Top |
|
| Posted by
| Scarn
(47 posts) Bio
|
| Date
| Reply #2 on Wed 01 Oct 2008 11:23 AM (UTC) |
| Message
| First you need to make a speedwalk that walks a path, for example if you start at the shop near a forest... do 10n,10e,10w,10s,sell all,deposit gold.
The following alias "pause" stops the speedwalk....
<aliases>
<alias
name="SpeedWalkPause"
match="^pause$"
enabled="y"
regexp="y"
send_to="12"
ignore_case="y"
sequence="100"
>
<send>dim speedwalkQueue
dim iCount
dim NewQueue
newQueue = ""
speedwalkQueue = World.GetQueue
world.discardqueue
If Not IsEmpty (speedwalkQueue) Then
for iCount = lbound (speedwalkQueue) to ubound (speedwalkQueue)
newQueue = newQueue & speedwalkQueue(iCount) & VBCrLf
setvariable "QueueTemp", newQueue
next
End If
enablealias "speedwalkresume", 1
Colourtell "red", "", "Speedwalk Stopped."
Colourtell "", "", ""</send>
</alias>
</aliases>
and to resume...
<aliases>
<alias
name="SpeedwalkResume"
match="^r$"
echo_alias="y"
regexp="y"
send_to="12"
ignore_case="y"
sequence="100"
>
<send>queue getvariable("QueueTemp"), true
enablealias "speedwalkresume", 0
setvariable "QueueTemp", ""
Colourtell "red", "", "Speedwalk Resuming."
Colourtell "", "", ""</send>
</alias>
</aliases>
All you have to do is trigger the monsters you want to kill say... an orc...
<triggers>
<trigger
custom_colour="8"
group="DFBOT"
match=" an orc"
send_to="10"
sequence="100"
>
<send>pause
kill orc</send>
</trigger>
</triggers>
and then trigger "orc has died" todo get all from corpse,r (resume the speedwalk)
That is a very vauge description but it works for me. | | 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.
16,316 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top