Jump to content
UBot Underground

How to add comments to UBOT?


Recommended Posts

As far as I know there is no way to add comments to ubot....

Here is a neat idea to allow you to enter comments anywhere you like.. especially at the start to remind you just what this freaking script does.. but you can also place them anywhere you need them to remind you.

 

Anyone knowing javascript knows that the /* and */ starts and ends comments...

 

So we do this:

1. Move to the node... right click and mouse over the action command.

2. Click on "Run Javascript"

3. Type your comments in the box with the beginning /* and ending */

4. Type /* (then enter)

5. Type your comment as follows..

/*

Now is the time for all

good men to come to the

aid of thier country.

*/

Now click ok and you are done..

The comments can be as long as you desire...

When compiled the compiler will remove them but they remain in the uncompiled version.

Be sure to force an enter after about 20 characters, as you will then be able to read them without stretching the screen out every time.. Contents can be lifesavers once you forget... ADHD you know.

 

Hope this helps someone... still day 2 for me..

  • Like 4
Link to post
Share on other sites
  • 1 year later...

little tip...

 

for those struggling to execute step4 in the first post ( force "enter")

 

if you simply press "Enter" key it will close the node.

 

Shift + Enter will force the cursor to the next line.

 

took couple of minutes to figure it out, but could be frustrating if ur not lucky.

 

 

thanks

  • Like 3
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...