; Revision notes 16/04/2002 (Fryguy)
; Reformatted script to make it easier to read and follow.
; Added check for blades at script startup.
; Do ignoreitem reset when all blades have been used instead of exit.
; Added most types small blades to the target string.
; If you have blades on your char that you do not wish to be used,
; Place them in a bag in you backpack or just don\'t open your main pack,
; so that they are NOT shown on screen. This script will use any blade
; show on screen that\'s not on the ground.
; Minor speed improvements. (Between poisoning and bottle fill. And Hiding after
; Cure/Heal)
; Added config option to turn off re-posioning on gain.
; Revision notes 11/04/2002 (Fryguy)
; Moved hiding routine so that it re-hides after casting cure.
; Added checks to re-poison if gain detected (Seems to work very well for me),
; Changes located in the poisonit routine.
; Attempt to find another keg once one is used up.
; revision notes 23/11/2001
; made it so you dont need to reconfigure your UO macroes
; added option to change what you poison
; added other things also but too sleepy and cant remember hehe
; Open secures with as many bladed weapons (atleast 100 is revomended)
; and poison kegs as you like. This script with cycle through all
; bladed weapons and poison kegs on screen.
;comprate 3 bag,mettete in una 50 dagger,in un'altra altrettanti e nella terza bag i keg che volete usare.lokkate le 3 bag,tenetele aperte e premete play
INITEVENTS
; ### Start of config section.
; Item types to be poisoned.
SET %PTarget WSF
; Please set hitpoints here (script will start healing below this number)
SET %Hits 75
; Do you want the script to hide you? (1 = yes / 0 = no)
SET %Hide 0
; Do you want to attempt to re-poison the same blade again on gain?
; At higher skill levels (90+) re-poisoning gains only happen about 10-20%
; of the time from my experiance, please correct me if I am wrong.
; (1 = yes / 0 = no)
SET %RePoison = 0
; ### End of config section.
; ### Do not edit past this line.
; ### Unless of course you know what you are doing
; Init for gain checks (This is not a config option, it initializes the re-posion on gain marker)
SET %Gain 0
EVENT SYSMESSAGE This Script will start shortly.
CHOOSESKILL POIS REAL
CheckBlades
FINDITEM %PTarget
IGNOREITEM #FINDID
IF #FINDKIND = -1
{
EVENT SYSMESSAGE Sorry, I could not find any blades to be poisoned.
EVENT SYSMESSAGE Please open a secure with blades and restart.
EVENT SYSMESSAGE Thank you.
HALT
}
IF #FINDKIND = 1
{
GOTO CheckBlades
}
IGNOREITEM RESET
FindKeg:
FINDITEM QMJ
IGNOREITEM #FINDID
SET %Kegid #FINDID
IF #FINDKIND = -1
{
EVENT SYSMESSAGE Sorry, I could not find a keg of poison.
EVENT SYSMESSAGE Please get a keg of poison and restart.
EVENT SYSMESSAGE Thank you.
HALT
}
IF #FINDKIND = 1
{
GOTO FindKeg
}
Begin:
SET %Skill #SKILL
SET %Hidden 0
Hide:
IF %Hide = 1
{
IF H NOTIN #CHARSTATUS
{
EVENT MACRO 13 21
WAIT 2s 20
SET %Hidden 1
GOTO Hide
}
IF %Hidden <> 0
{
WAIT 6s 20
}
}
SET #LOBJECTID %Kegid
TARGET
EVENT MACRO 17
WAIT 10
SCANJOURNAL 1
IF is_empty IN #JOURNAL
{
GOTO FindKeg
}
Commenta