Jump to content
UBot Underground

Leaderboard

Popular Content

Showing content with the highest reputation on 02/24/12 in all areas

  1. I've been having a problem for ages now, that has been driving me absolutely nuts and caused me to stop using Ubot for around 30 days until it got fixed. If I nested functions like if (either (comparison (table total rows, by the time I got to table table rows I would have extremely long delays and "not responding". It would take more than 5 minutes just to finish one node. ( See video) http://screencast.com/t/ftZcDf6CB4Z My first gut feeling after deciding I need to solve this now or give up on Ubot was to reboot into safe mode. Problem doesn't exist. So I started narrowing down pro
    1 point
  2. Hey everyone. It's been awhile so I posted a new tutorial. You can find it here: http://learnubot.com/featured/ubot-studio-v4-condensing-code/ John
    1 point
  3. You could do something like this: set(#countforprogram, "cmd.exe", "Global") gettaskcount() define gettaskcount { set(#countforprogramfile, ".\\task-count-temp.dat", "Global") shell("cmd.exe /C tasklist | find /I /C \"{#countforprogram}\" >\"{#countforprogramfile}\"") set(#taskcount, $read file(#countforprogramfile), "Global") shell("cmd.exe /C del \"{#countforprogramfile}\"") } if($comparison(#taskcount, ">=", 2)) { then { alert("Stopping. You have to many running. Current running count is: {#taskcount}") stop script } else { alert("Running
    1 point
×
×
  • Create New...