Page 1 of 1

YOKO HELP ME> I need this !!

Posted: 2004-09-06 12:44:35
by joeliang
i got many poison potion in my backpack. how to use poisoning skill for one poison potion then work on a weapon. and next time use poisoning skill for another poison potion then work on to that weapon.

could u write a script that can repeat this action. thx u!

Posted: 2004-09-06 16:54:45
by Yoko
i do write complete scripts only for some fee.
but i always may tell most important things

in your case it is something like
,poison weapon;ignore _poison

Posted: 2004-09-06 17:23:29
by Thdin

Code: Select all


sub Poisoning()

VAR poisontime=5000

UO.Addobject('weapon')
While UO.Targeting()
Wait(100)
Wend

UO.Addtype('poisonpot')
While UO.Targeting()
Wait(100)
Wend

Poison:
UO.Findtype('poisonpot','-1','-1')
If UO.Findcount()>0
UO.Useskill('Poisoning')
Wait(1000)
UO.Target('weapon')
Wait(1000)
UO.Usetype('finditem')
Wait(poisontime)
goto Poison
Endif

endsub



That should do it. Wrote it up in a second. If your server takes longer or shorter change "poisontime" to whatever it matches. Remember, every 1000 is equal to 1 second. For example, 5000 is 5 seconds.

Enjoy :)

thank u very much Thdin

Posted: 2004-09-06 17:36:51
by joeliang
i love u :)

Posted: 2004-09-06 17:49:10
by Thdin
Thanks... ?

lol

hm. it doesn;t work well./

Posted: 2004-09-06 18:00:14
by joeliang
but it donesn't choose poison potion and weapon automaticly after used poisioning skill. i have to select these two by MOUSE :*

what happend?

Posted: 2004-09-06 18:06:30
by joeliang
what happend?hmm time to sleep now . it's 4:00am , tomorrow have a test!!!!!!!!!!,i will come back to see this morning later on :) . i love u :)

Posted: 2004-09-07 21:47:30
by Thdin
You have to have more then 1 poison potion in your backpack otherwise the script ends. Keep all the poison potions and weapon in your pack and when you run the script you only have to target the pot and weapon once and then it will keep repeating.

Posted: 2004-09-07 21:48:47
by Thdin
Nevermind. Ignore my last post and look at the script again. I changed it a bit. Try using that one now :)