Hello!
Thank you a lot for this.
But for an unknown reason I cannot make work the last version... having this :
[18:34:04.587 D] File "", line 4
return bool(((IsTimeBetween(8,9) or IsTimeBetween(20,21)) and ( or (IsTimeBetween(8,9) and (0 or 0 or 0 or 0 or 0 or 0)) or (IsTimeBetween(20,21) and (0)))) and FreeItemSlots() > 1)
^
SyntaxError: unexpected token 'or'
[18:34:04.587 N] Stopping the bot.
[18:34:04.588 D] Exception during scheduling Pulse: Microsoft.Scripting.SyntaxErrorException: unexpected token 'or'
à Microsoft.Scripting.ErrorSink.Add(SourceUnit source, String message, SourceSpan span, Int32 errorCode, Severity severity)
à IronPython.Compiler.Parser.ReportSyntaxError(Int32 start, Int32 end, String message, Int32 errorCode)
à IronPython.Compiler.Parser.ReportSyntaxError(Token t, IndexSpan span, Int32 errorCode, Boolean allowIncomplete)
à IronPython.Compiler.Parser.ParsePrimary()
à IronPython.Compiler.Parser.ParsePower()
à IronPython.Compiler.Parser.ParseFactor()
à IronPython.Compiler.Parser.ParseExpr(Int32 precedence)
à IronPython.Compiler.Parser.ParseComparison()
à IronPython.Compiler.Parser.ParseNotTest()
à IronPython.Compiler.Parser.ParseAndTest()
à IronPython.Compiler.Parser.ParseOrTest()
à IronPython.Compiler.Parser.ParseExpression()
à IronPython.Compiler.Parser.FinishTupleOrGenExp()
à IronPython.Compiler.Parser.ParsePrimary()
à IronPython.Compiler.Parser.ParsePower()
à IronPython.Compiler.Parser.ParseFactor()
à IronPython.Compiler.Parser.ParseExpr(Int32 precedence)
à IronPython.Compiler.Parser.ParseComparison()
à IronPython.Compiler.Parser.ParseNotTest()
à IronPython.Compiler.Parser.ParseAndTest()
à IronPython.Compiler.Parser.ParseAndTest()
à IronPython.Compiler.Parser.ParseOrTest()
à IronPython.Compiler.Parser.ParseExpression()
à IronPython.Compiler.Parser.FinishTupleOrGenExp()
à IronPython.Compiler.Parser.ParsePrimary()
à IronPython.Compiler.Parser.ParsePower()
à IronPython.Compiler.Parser.ParseFactor()
à IronPython.Compiler.Parser.ParseExpr(Int32 precedence)
à IronPython.Compiler.Parser.ParseComparison()
à IronPython.Compiler.Parser.ParseNotTest()
à IronPython.Compiler.Parser.ParseAndTest()
à IronPython.Compiler.Parser.ParseOrTest()
à IronPython.Compiler.Parser.ParseExpression()
à IronPython.Compiler.Parser.FinishArgListOrGenExpr()
à IronPython.Compiler.Parser.AddTrailers(Expression ret, Boolean allowGeneratorExpression)
à IronPython.Compiler.Parser.ParsePower()
à IronPython.Compiler.Parser.ParseFactor()
à IronPython.Compiler.Parser.ParseExpr(Int32 precedence)
à IronPython.Compiler.Parser.ParseComparison()
à IronPython.Compiler.Parser.ParseNotTest()
à IronPython.Compiler.Parser.ParseAndTest()
à IronPython.Compiler.Parser.ParseOrTest()
à IronPython.Compiler.Parser.ParseExpression()
à IronPython.Compiler.Parser.ParseTestListAsExpr()
à IronPython.Compiler.Parser.ParseReturnStmt()
à IronPython.Compiler.Parser.ParseSimpleStmt()
à IronPython.Compiler.Parser.ParseSuite()
à IronPython.Compiler.Parser.ParseClassOrFuncBody()
à IronPython.Compiler.Parser.ParseFuncDef()
à IronPython.Compiler.Parser.ParseFileWorker(Boolean makeModule, Boolean returnValue)
à IronPython.Compiler.Parser.ParseFile(Boolean makeModule, Boolean returnValue)
à IronPython.Runtime.PythonContext.ParseAndBindAst(CompilerContext context)
à IronPython.Runtime.PythonContext.CompilePythonCode(SourceUnit sourceUnit, CompilerOptions options, ErrorSink errorSink)
à IronPython.Runtime.PythonContext.CompileSourceCode(SourceUnit sourceUnit, CompilerOptions options, ErrorSink errorSink)
à Microsoft.Scripting.SourceUnit.Execute(Scope scope, ErrorSink errorSink)
à Microsoft.Scripting.Hosting.ScriptSource.Execute(ScriptScope scope)
à Clio.Utilities.ScriptManager.GetCondition(String expression)
à ff14bot.NeoProfiles.IfTag.GetConditionExec()
à ff14bot.NeoProfiles.IfTag.get_IsDone()
à ff14bot.NeoProfiles.ProfileBehavior.get_IsDoneCache()
à ff14bot.NeoProfiles.IfTag.<>c.(ProfileBehavior )
à System.Linq.Enumerable.All[TSource](IEnumerable`1 source, Func`2 predicate)
à ff14bot.NeoProfiles.IfTag.get_IsDone()
à ff14bot.NeoProfiles.ProfileBehavior.get_IsDoneCache()
à ff14bot.NeoProfiles.TreeNode`1.()
à ff14bot.NeoProfiles.TreeNode`1.()
à ff14bot.NeoProfiles.TreeNode`1.Find()
à ..()
à ff14bot.NeoProfiles.NeoProfileManager.UpdateCurrentProfileBehavior()
à ff14bot.BotBases.OrderBot.(Object , EventArgs )
à ff14bot.Behavior.BrainBehavior.()
[18:34:04.588 D] CurrentBot.Stop()
[18:34:04.588 D] TreeHooks.Instance.ClearAll()
Any idea?
Thx !