Help:Debugging

Script doesn't work?

Here's what you need to know to fix it.

Start by taking some time and checking out UBot's many features. If you've had some basic programming or scripting experience, you should have no problems familiarizing yourself with Visual Scripting Language. If you're brand new to scripting, following these guidelines when writing scripts will help you overcome many early frustrations and master even complex tasks within a few days of study and practice.

UI elements


You can create user-defined input boxes at the top of the UBot window. The UI allows you to enter information (variables, file locations, lists, or true-false checkboxes) when a bot first starts, or on the fly while a bot is running. The UI stat monitor also allows users to monitor variables and other information in realtime.

Tip Creating a UI stat monitor to watch #status, then updating #status at the beginning of each sub will enable you to see which step you're on.

Tip See what UBot scrapes by monitoring a #scraped variable when a script isn't scraping as it should.

sub scripts
The sub command is one of the most useful features in UBot. A sub is like a self contained script within a script. It helps you write cleaner and more maintainable code.

Tip Subs will not run until you call one using the run sub command.

pause / stop script
You can tell UBot to wait until you start it again, so you see step by step how your script operates.

Tip If you aren't sure which node isn't working correctly, pause after every sub or command to locate it.

Warning If a while loop has an empty qualifier or is set to run indefinitely, UBot will hang until you force close the program. Pausing at the end of every loop you're testing will avoid this.

delay
Slowing down the script will also help you see what your script is (or isn't) doing.

Tip You can use a $rand parameter to randomize the wait time.

comment / disable
coming soon!

Post your error screenshots
And we'll work out a probable cause for it.

How do you debug?
Let us know!