ScriptUO

Official ScriptUO EasyUO Scripts => Scripting Chat => Topic started by: Tana on February 04, 2016, 05:49:16 AM

Title: Need help with making a script.
Post by: Tana on February 04, 2016, 05:49:16 AM
Hello community! I'm trying to make a script to farm dark guardians ask not for the bones but for the tmaps! My questions are how do you make it check if your container has too many item? Like {if #items > 120 go sub drop off} else {gosub spawn} sorry still new to writing scripts
Title: Re: Need help with making a script.
Post by: lydaan on February 05, 2016, 03:36:18 PM
finditem and #findcnt
http://wiki.easyuo.com/index.php/FindItem (http://wiki.easyuo.com/index.php/FindItem)
http://wiki.easyuo.com/index.php?title=FindCnt (http://wiki.easyuo.com/index.php?title=FindCnt)

Code: [Select]
finditem * c_xxxxxx
if #findcnt > 120
   gosub dropp_off
Title: Re: Need help with making a script.
Post by: Tana on February 05, 2016, 10:27:27 PM
thank you so much!