Abs* 12 Posted May 26, 2011 Report Share Posted May 26, 2011 Hi Guys - I have a bot that needs to perform a Eval command - well it needs to divide a list total by 4 - However I need this done when java is disabled Is there a way to do such a eval command or equivalent to get this done which will not require java thanks Quote Link to post Share on other sites
UBotBuddy 331 Posted May 26, 2011 Report Share Posted May 26, 2011 The web page in the UBot browser must have javascript. Unless you want to wait for v4 of Ubot. Quote Link to post Share on other sites
Abs* 12 Posted May 26, 2011 Author Report Share Posted May 26, 2011 The web page in the UBot browser must have javascript. Unless you want to wait for v4 of Ubot. Yeh thats the problem active scripting will be disabled from the start - Unless of course I can get Pranneys script to work which just isnt working for me - the disable active scripting vbs script So just to confirm that there is no way to do math commands without using java? thanks Quote Link to post Share on other sites
UBotBuddy 331 Posted May 26, 2011 Report Share Posted May 26, 2011 No way. Sorry. Quote Link to post Share on other sites
JohnB 255 Posted May 26, 2011 Report Share Posted May 26, 2011 Ok, just because...here is a script that does math with no javascript or $eval commands. Just FYI I named it as such because doing math this way, to me, is the equivalent of using an abacus! lol This script takes the list total and divides by two. If you want to code math problems all day you can do it for any number really, it's just not very practical. the abacus.ubot John Quote Link to post Share on other sites
Abs* 12 Posted May 26, 2011 Author Report Share Posted May 26, 2011 thats so much Will go do a test now Quote Link to post Share on other sites
UBotBuddy 331 Posted May 26, 2011 Report Share Posted May 26, 2011 Duh! Well yeah you can do this. I have a horse that counts by tapping its front hoof. Quote Link to post Share on other sites
JohnB 255 Posted May 26, 2011 Report Share Posted May 26, 2011 No way. Sorry. ??? http://ubotstudio.com/forum/public/style_emoticons/default/blink.gif When you figure out how to insert that horse into a script let me know! lol Quote Link to post Share on other sites
Abs* 12 Posted May 27, 2011 Author Report Share Posted May 27, 2011 ??? http://ubotstudio.com/forum/public/style_emoticons/default/blink.gif When you figure out how to insert that horse into a script let me know! lol You got him there John +1 Quote Link to post Share on other sites
Praney Behl 314 Posted May 28, 2011 Report Share Posted May 28, 2011 ??? http://ubotstudio.com/forum/public/style_emoticons/default/blink.gif When you figure out how to insert that horse into a script let me know! lol Haha, there can always be a way around. 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.