ScriptUO
Official ScriptUO EasyUO Scripts => Scripting Chat => Topic started by: Cuemif on October 04, 2010, 08:16:29 PM
-
Ok here is what i am trying to do . On my shards there have blessed Reg/Bandage bags and Blessed Potion Bags. This script here will not find the bands or pots in the bags unless the bags are open there for the scripts shuts off heal/cure by potions or bands. I have tired everything I can think of and it just does not work . If someone could PLEASE help me I would be greatly thankful
Bands Bag ID is VACTRMD
Potion Bag ID is BOPVKMD
Cerveza - We don't post up others work, we link to it.
Sorry boss
http://www.easyuo.com/forum/viewtopic.php?p=13869#13869
-
This is in his script
sub aids
finditem ZLF C
That's the only reference to bandages. You might try
sub aids
finditem ZLF C_ , %bands_bag_ID
And of course you have to set that somewhere at the beginning of the script
set %bands_bag_ID VACTRMD
See if that works.
-
Nope this did not work :( I tired it before I posted and I just tired again still no good
-
Moved to a more appropriate sub-forum.
-
Yep, not finding it, so you have to do a count then open the bag if #findCnt < 1 (or #findCnt = 0)
so....
sub aids
finditem ZLF C_ , %bands_bag_ID
if #findCnt < 1
{
set #lobjectID %bands_bag_ID
event macro 17
wait 5
finditem ZLF C_ , %bands_bag_ID
if #findCnt < 1
{
display ok No bandages, halting script
halt
}
}
Try that. I don't do freeshards, I don't do blessed bags. G'luk.
-
BING good job ty SOOOO much now I just need to get it to work with pots and I am set TY TY TY TY