Jump to content
UBot Underground

Recommended Posts

Greetings Ubotters!!

 

This is what I have been using in my bots for logging and debugging to help sort issues and just let customers see what is going on too.

 

 

This is a basic example to build from and ,make it your own.

 

You will need datetinemanipulation plugin from ubotdev.com

 

or you can just use python for dates (python code not included)

that will be another tutorial coming soon

 

I used "Desktop" in "$special folder" for demonstration purposes. I use "Application" as it stores in the same place where the bot is located. I also append "\Data" to it to store in that file to keep it cleaner.

 

So just hit Ctrl+c and type curr and it should be the first one and you can drag it to where you want or just hit Enter and it will go to where you ate selected in the editor. "Selected" is where the dotted box is. Then start typing hit Enter and bam!

 

EZ eh?

 

It's EZ it;s simple and if bot stops or crashes you and your customer will know where it crashed, while in the Studio or Compiled.

 

 

Enjoy!!

 

CD

 

example -- logging.ubot

Link to post
Share on other sites

Just wanted to add that you can add variables and functions too

 

 

set(#thread ID"Thread 5""Global")
Currnent Status("{#thread ID} has  completed successfully!!")

 

 

CD

Link to post
Share on other sites
  • 3 weeks later...

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