ScriptUO
Official ScriptUO EasyUO Scripts => Scripting Chat => Topic started by: satorey on March 07, 2012, 04:25:23 AM
-
Sorry guys still new to scripting. My noob question is does this command find the ID of any item in that container?
finditem * C_xxxxxxx
-
Yes, and then you can go through Every item by doing a for statment for the #Findindex.
Finditem * C_XXXXXX
for #Findindex 1 #Findcnt
{
Display Findid: #Findid $ Findtype: #Findtype $ Findcol: #Findcol
}
The Use of this For #Findindex 1 #Findcnt is pretty much standard for sorting through items found in a container.
-
thank you for your help much appreciated.
-
-
It does chrome. The , represents a parce(Spelling)
so the way the command works is actually
Finditem * C_XXXXXX
But normally the Id is saved to a variable, so to extract the information from the Variable You do A ,
set %Container AIUBXY
Finditem * C_ , %Container
Which turns into C_AIUBXY
-
I never thought about that. But right now i must say you are right. But funny i never thought the , in finditem would work like
a , b
or other stuff.
Thank you MW for clearing that part..
Crome