ScriptUO

Official ScriptUO EasyUO Scripts => Script Debug => Topic started by: Thimotty on November 01, 2009, 06:15:31 PM

Title: I need idea :)
Post by: Thimotty on November 01, 2009, 06:15:31 PM
Can anyone give me idea how to make something like this:
Code: [Select]
set %file c:\ignored.txt
call %file
if some_conditions_here
   {
   execute cmd.exe /c echo ignoreitem #FINDID >> %file
   }
This way it does not ignore the items from ignored.txt file on "call %file"


edit: I found the problem. It is working however the "exit" command reset all ignored items but preventing the "call" command to execute again. It is very strange.
Title: Re: I need idea :)
Post by: Endless Night on November 02, 2009, 09:39:49 AM
IF Exit reset ignore list perhaps you can create an array in the file

and after the call command run a sub that iterates throught the array ignoreing the items.