Yoko

All sides of Injection
It is currently 2026-01-16 22:05:51

All times are UTC+02:00




Post new topic  Reply to topic  [ 9 posts ] 
Author Message
PostPosted: 2004-09-06 12:44:35 
Offline

Joined: 2004-08-07 16:58:11
Posts: 7
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!


Top
   
 Post subject:
PostPosted: 2004-09-06 16:54:45 
Offline
Site Admin
User avatar

Joined: 2004-04-03 16:49:38
Posts: 1964
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


Top
   
 Post subject:
PostPosted: 2004-09-06 17:23:29 
Offline

Joined: 2004-07-22 07:37:37
Posts: 51
Code:

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 :)


Last edited by Thdin on 2004-09-07 21:48:22, edited 1 time in total.

Top
   
 Post subject: thank u very much Thdin
PostPosted: 2004-09-06 17:36:51 
Offline

Joined: 2004-08-07 16:58:11
Posts: 7
i love u :)


Top
   
 Post subject:
PostPosted: 2004-09-06 17:49:10 
Offline

Joined: 2004-07-22 07:37:37
Posts: 51
Thanks... ?

lol


Top
   
PostPosted: 2004-09-06 18:00:14 
Offline

Joined: 2004-08-07 16:58:11
Posts: 7
but it donesn't choose poison potion and weapon automaticly after used poisioning skill. i have to select these two by MOUSE :*


Top
   
 Post subject: what happend?
PostPosted: 2004-09-06 18:06:30 
Offline

Joined: 2004-08-07 16:58:11
Posts: 7
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 :)


Top
   
 Post subject:
PostPosted: 2004-09-07 21:47:30 
Offline

Joined: 2004-07-22 07:37:37
Posts: 51
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.


Top
   
 Post subject:
PostPosted: 2004-09-07 21:48:47 
Offline

Joined: 2004-07-22 07:37:37
Posts: 51
Nevermind. Ignore my last post and look at the script again. I changed it a bit. Try using that one now :)


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 9 posts ] 

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Limited