Jump to content
UBot Underground

how to connect scripts?


Recommended Posts

must be a stupid quest to some of you... i apologize...

 

if i have a few tabs and each tab performs a different task

 

how do i connect the different scripts into one thing? like, how do i run the other inactive tabs from my main script tab?

 

 

thanks for the help!!!

Link to post
Share on other sites

i see!

 

i am having trouble getting the define to work for some reason...

 

problem described here -> http://www.ubotstudio.com/forum/index.php?/topic/11766-how-do-i-create-containers/#entry64615

 

watched this

 

Basically, Commands are used to perform specific tasks (does something) while Functions are used for calculating stuff (returns a value)...

 

http://learnubot.com...fine-command-2/

 

still not getting it... any other tutorials available?

 

 

THANKS!!

Link to post
Share on other sites

Ok, if i read right you have everything put in to a loop command that is set to loop once?

 

yes

 

In this case all you need to do to move everything inside the loop and put it inside the define and get rid of the loop.

hum... does that mean you can't execute loops within define?

 

just curious...

 

btw I do put thing in side loops like you have done to condense chunks of my code to make it more visible.

yes... i don't code in code view (i don't know how most folks here do it)... ahahha, for node view, the 1 cycle loops are necessary!!!

Link to post
Share on other sites

hum... does that mean you can't execute loops within define?

 

got the answer... thanks for the help guys!

 

define CANNOT be within another node

 

and yes, 1 cycle loops or any loop would work within the define nodes

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