1
Scripting Chat / Re: Ultra fast bolt basher!
« on: May 06, 2010, 10:53:38 AM »
Think im a little over my head! Ive figured out how to set keys, and have written a dodgy first script to try and create rules on accepting certain quests and disregarding others but i think i need to read up more! hah.
This is the script, you will probably look at it and think, oh my! hah. It doesnt work. First attempt though. Will read up and undoubtedly realise mistakes.
F5 = Double Click NPC
F6 = Accept Quest
F7 = Toggle Quest Status
F8 = Receive Reward
This is the script, you will probably look at it and think, oh my! hah. It doesnt work. First attempt though. Will read up and undoubtedly realise mistakes.
F5 = Double Click NPC
F6 = Accept Quest
F7 = Toggle Quest Status
F8 = Receive Reward
Code: [Select]
set #lpc 1000
set %kalocr #curpath , kalocr.txt
Sub CheckQuest
wait 5
call %kalocr GetMLQInfo QuestOffer #contposx #contposy
If %1 = A , #spc , Simple , #spc , Bow
Key F5
If %1 = Lethal , #spc , Darts
Gosub Quest
If %1 = Ingenious , #spc , Archery, , #spc , Part , #spc , I
Key F5
If %1 = Ingenious , #spc , Archery, , #spc , Part , #spc , II
Key F5
If %1 = Ingenious , #spc , Archery, , #spc , Part , #spc , III
Key F5
If %1 = Stop , #spc , Harping, , #spc , On , #spc , Me
Key F5
Gosub Checkquest
Sub Quest
Key F6
}
Wait 1
Key F7
}
Wait 1
Key F8
}
Wait 1
Gosub Checkquest