Jump to content
UBot Underground

Anyone know how to get the results of work in the Javascript Module.


Recommended Posts

OMYG I just became an advanced member at 30 posts... lord I am still asking basic questions..

 

I did a basic thingy in Javascript but cannot figure out how to get the result into the system.

 

var a = 5

var b = 4

var tot = a + b

#mysum = tot

 

See the attached sample... it can't be that hard...

How do I get the results so I can use it in the rest of the program.

 

Also alert(5+4) is a very common javascript command but apparently does not work at all here.... that is too bad.. its a great way to quickly view the results of you script..

simple_scrape_fixed.ubot

Link to post
Share on other sites

OMYG I just became an advanced member at 30 posts... lord I am still asking basic questions..

 

I did a basic thingy in Javascript but cannot figure out how to get the result into the system.

 

var a = 5

var b = 4

var tot = a + b

#mysum = tot

 

See the attached sample... it can't be that hard...

How do I get the results so I can use it in the rest of the program.

 

Also alert(5+4) is a very common javascript command but apparently does not work at all here.... that is too bad.. its a great way to quickly view the results of you script..

Here you go. I also added in an alert that does the 5+4 summation for you.

 

Dave

simple_scrape_fixed.ubot

Link to post
Share on other sites

Thanks a lot... TT will give you a big kiss.. it he has not gotten the RegEx working right yet... no matter, this will be a great little tutorial for any others having problems with the Javascript module... you are sooooo good.. maybe you would consider doing a nice little video module on just how to work the javascript module... This will help me in a lot of projects as I can make javascript dance... and now it can dance inside the Ubot..

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