addamroy 36 Posted July 18, 2013 Report Share Posted July 18, 2013 Trying to make a simple thing here, not really working well. I'm trying to multiply two values (each a numerical value entered into the ui html panel)... Via set > eval > Multiply variable1 * variable2 It's giving me an error saying "you cannot multiply two strings" set(#Je_FuelCosts, $eval($multiply(#Je_FuelMileageCost, #Je_CostPerMile)), "Global") That should work shouldn't it...? Quote Link to post Share on other sites
Praney Behl 314 Posted July 18, 2013 Report Share Posted July 18, 2013 Trying to make a simple thing here, not really working well. I'm trying to multiply two values (each a numerical value entered into the ui html panel)... Via set > eval > Multiply variable1 * variable2 It's giving me an error saying "you cannot multiply two strings" set(#Je_FuelCosts, $eval($multiply(#Je_FuelMileageCost, #Je_CostPerMile)), "Global") That should work shouldn't it...?Works for me! http://i.imgur.com/n6WuW3T.png?1 Quote Link to post Share on other sites
addamroy 36 Posted July 18, 2013 Author Report Share Posted July 18, 2013 Works for me! http://i.imgur.com/n6WuW3T.png?1Try entering the values as ui html, and see if it still works... ? idk why it's not working for me Quote Link to post Share on other sites
addamroy 36 Posted July 18, 2013 Author Report Share Posted July 18, 2013 Ok it works now, I had to close the bot and reopen it.... Weird Quote Link to post Share on other sites
Lizzard 0 Posted July 18, 2013 Report Share Posted July 18, 2013 Ok it works now, I had to close the bot and reopen it.... WeirdI get that from time to time. uBot just seems to "loose it". Sometimes when I'm working on memory hungry bots, other times I just can't tell why. Quote Link to post Share on other sites
UBotDev 276 Posted July 18, 2013 Report Share Posted July 18, 2013 A while back "eval" didn't work if browser has loaded a page that doesn't use JavaScript, but I still see it happens if you close the browser with "close page", if you try to run "eval" after this command. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.