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?
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.
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.