Jump to content
UBot Underground

Maths command using no Java


Recommended Posts

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

Link to post
Share on other sites

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

Link to post
Share on other sites

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

Link to post
Share on other sites

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

Link to post
Share on other sites

??? 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

 

:lol: You got him there John +1

Link to post
Share on other sites

??? 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. :P

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...