ScriptUO
Official ScriptUO EasyUO Scripts => Scripting Chat => Topic started by: Rose Tyler on October 07, 2012, 06:15:04 PM
-
So I am not even sure if this is where I should post this... BUT I want to learn how to write basic scripts... like one project I am working on is cataloging my roses... I want a script that will open a container and put them into alphabetical order and pull out anything that is not supposed to be there.... semi automated... see what I mean? Maybe... help...
-
You might be able to use my Miffy's Item Finder. You should be able to search all surrounding containers and it'll create a list of everything you found.
http://www.scriptuo.com/index.php?topic=24.0;highlight=miffy
-
thanks! ill give it a whirl! 8)
-
It'll work if the roses have some text in common because the script uses event property. Hopefully "rose" is in there somewhere in each one.. ;)
-
There is also a SoT scroll sorting script that you might want to look at somewhere here. That "names" a seclection of bags to drop scrolls into and works like a charm. I'm far from as classy a scripter as the real writers here but that might give you a few good ideas.
-
Below script will remove all items that do not have the word rose in thier property and place into a selected bag.
Before starting script open all bags you want to remove non rose stuff out of and have a container/bag placed to put that stuff into. The script will ignore your backpack even if opened.
have fun.
display ok Open all the bags to search $ if you have not done so already $ You Have 10seconds
for %x 1 10
{
event sysmessage %x
wait 10
}
display Target non-rose item Box
set #targcurs 1
while #targcurs = 1
{
wait 1
}
set %JunkBox #ltargetID
finditem * C
if #findcnt > 0
{
For #findindex 1 #findcnt
{
if #Findbagid <> #charid && #Findbagid <> %JunkBOx && #Findbagid <> #Backpackid
{
event property #findid
if rose notin #property
gosub ENs_Movetocontainor #findid %Junkbox
}
}
}
halt
Sub ENs_MoveToContainor ; 3/31/08 - %1 Item %2 Containor %3 stack %4 Wait
if %0 < 4
set !DragDropWait 12
wait !DragDropWait
ExEvent drag %1 %3
ExEvent DropC %2
wait !DragDropWait
Return
-
hehe I finally found this! I am so trying it right now! I have umm ALOT of Roses to catalouge
-
hehe I finally found this! I am so trying it right now! I have umm ALOT of Roses to catalouge
I hope it worked out for you Rose
-
hehe I finally found this! I am so trying it right now! I have umm ALOT of Roses to catalouge
Wow Rose I just noticed where you live. I am only maybe an hour north of you on I-85.