03-24-2010, 06:11 PM
I need a poison macro for injection to use lesser heal pots on a weapon such as a dagger. I have looked everywere and would apreciate the help!
Promoe Wrote:What exactly you want the macro to do? Only use lessor potions on a dagger?
Or like make a lesser poison potion with alchemy then apply it on dagger using poisoning skill?
sub poison()
var dagger='Your ID here'
while UO.SkillVal('Poisoning') < 1000
UO.FindType(0x0F0A,0x0000,'backpack')
if UO.FindCount() then
UO.WaitTargetObject('finditem',dagger)
UO.UseSkill('Poisoning')
wait(11000)
endif
wend
endsub
Promoe Wrote:Code:sub poison()
var dagger='Your ID here'
while UO.SkillVal('Poisoning') < 1000
UO.FindType(0x0F0A,0x0000,'backpack')
if UO.FindCount() then
UO.WaitTargetObject('finditem',dagger)
UO.UseSkill('Poisoning')
wait(11000)
endif
wend
endsub
Insert ID of you dagger to the variable and thats it.. Also you can try adapting delay to your ping, I made 11 seconds here because thats how it worked for me.
Promoe Wrote:var dagger='Your ID here'Type ",info" in your client, target your dagger, "Text" window will appear. It will look like:
Text Wrote:ID=0x4016D619 Type=0x0F52 XMNYMMD Name=
Quantity: 1 Colour: 0x0000 Layer: 0 Has: 1
X=109 Y=111 Z=0 C=0x410B75D8 F=0x00
Promoe Wrote:You didn't paste your ID to the variable.
Basically, you need to edit this line
Type ",info" in your client, target your dagger, "Text" window will appear. It will look like:
You need to copy the ID and paste it to the first line of the script.
It doesn't work at the moment because it can't find a dagger..
Necro Wrote:That is the type. When you type ,info and get the window copy the ID (it should say something like ID="0x135522553", u need to copy what is in the " ")