ScriptUO

Official ScriptUO EasyUO Scripts => Scripting Chat => Topic started by: acidburn on August 25, 2008, 03:32:41 AM

Title: uninsured items
Post by: acidburn on August 25, 2008, 03:32:41 AM
So whilst in a particularly evil mood I came up with the idea of a script which worked like a suit calculator but checked on the armours insurance status.
not ironed out all the details yet, but once started i thought it could scan all players which appeared on screen and checked for non-insured/blessed armour, and fire up and alert message for any potentials.
anyone dabbled before or got any advice on where to start?
works killing my playing time, but I've been coding quite a lot.
thanks
Title: Re: uninsured items
Post by: OMGBurgers on August 25, 2008, 04:29:06 AM
hm id assume finditem on players first
if found set as #lobjectid, event macro 17 to get paperdoll

next do a while #contid = xxxx (the found playersid)
{
do a finditem * C_ , #contid (of the player)
if #findkind = -1 ------>break
event property #findid
if insured notin #property------>alert
else ignoreitem #findid
}

i guess something simple like that
Title: Re: uninsured items
Post by: TrailMyx on August 25, 2008, 10:32:23 AM
Check out my Paperdoll Totalizer HERE (http://www.scriptuo.com/smf/index.php?topic=15.0).  It lets you know what's what in your paperdoll, or even a container.  It also checks your current suit repair status.

You might get some ideas from it.
Title: Re: uninsured items
Post by: Khameleon on August 25, 2008, 02:20:20 PM
Check out my Paperdoll Totalizer HERE (http://www.scriptuo.com/smf/index.php?topic=15.0).  It lets you know what's what in your paperdoll, or even a container.  It also checks your current suit repair status.

You might get some ideas from it.

I use this script all the time.. Its one of my Preloaded Tabs at all times.