Edward_2 85 Posted July 10, 2013 Report Share Posted July 10, 2013 Thanks this is very kind... Building a plugin for everyone... Bless your kind heart... Quote Link to post Share on other sites
Freezer 1 Posted October 2, 2013 Report Share Posted October 2, 2013 thanks for this great plugin here is a example for time ranges: ui button("timetest") { set(#current time, "{$plugin function("time.dll", "$currenthour-24h")}{$plugin function("time.dll", "$currentminute")}", "Global") set(#starttime, 0800, "Global") set(#endtime, 2200, "Global") thread { loop while($either($comparison(#starttime, ">=", #current time), $comparison(#endtime, "<=", #current time))) { wait(5) alert("wait") set(#current time, "{$plugin function("time.dll", "$currenthour-24h")}{$plugin function("time.dll", "$currentminute")}", "Global") } alert("its time") }} 1 Quote Link to post Share on other sites
Proven 1 Posted November 10, 2013 Report Share Posted November 10, 2013 Appreciate the plugin! Got a problem using it tho as I want to add x minutes to the current time to establish the scheduled next run time. I have added an eval to add the time to minutes but when I debug it all I see in the #First Run Time var is the hour with no minutes shown... It works fine if I right click and run it but it won't work in the "on load" Any ideas? Thx Here's the code: on load("Bot Loaded") { wait(10) set(#current time, "{$plugin function("time.dll", "$currenthour-24h")}:{$plugin function("time.dll", "$currentminute")}", "Global") set(#Minutes, $eval($add($plugin function("time.dll", "$currentminute"), 1)), "Global") if($comparison($text length(#Minutes), "=", 1)) { then { set(#Minutes, "0{#Minutes}", "Global") } else { } } set(#First Run Time, "{$plugin function("time.dll", "$currenthour-24h")}:{#Minutes}", "Global") set(#time to execute, #First Run Time, "Global") Schedule Next Run() } define Schedule Next Run { thread { loop while($comparison(#time to execute, "!=", #current time)) { wait(1) set(#current time, "{$plugin function("time.dll", "$currenthour-12h")}:{$plugin function("time.dll", "$currentminute")}", "Global") } task() } define task { Run Main Program() } } Quote Link to post Share on other sites
Proven 1 Posted November 11, 2013 Report Share Posted November 11, 2013 It seems it's the "on load" that causes this problem... I did it with javascript instead and it now runs fine. Seems that "on load" needs sorting out a little... must be a Ubot5 function! lol Quote Link to post Share on other sites
dankass 52 Posted November 16, 2013 Report Share Posted November 16, 2013 It seems it's the "on load" that causes this problem... I did it with javascript instead and it now runs fine. Seems that "on load" needs sorting out a little... must be a Ubot5 function! lol I've reported several bugs in the onload to the tracker... at this point Ubot 5 is completely unusable for me because of this... I cant get most things to work in an onload command. Quote Link to post Share on other sites
MiriamMB 63 Posted November 16, 2013 Report Share Posted November 16, 2013 Two issues have been reported on the tracker for the onload command and they have both been resolved and fixed here: http://tracker.ubotstudio.com/issues/142and here: http://tracker.ubotstudio.com/issues/55 Hope the fixes are helpful. Let us know if the tracker if you find any other issues related to the command. Quote Link to post Share on other sites
B0tm4aster 2 Posted December 6, 2013 Report Share Posted December 6, 2013 I guess this does NOT support to run a certain Tab within the compiled Bot? Quote Link to post Share on other sites
B0tm4aster 2 Posted December 6, 2013 Report Share Posted December 6, 2013 It seems it's the "on load" that causes this problem... I did it with javascript instead and it now runs fine. Seems that "on load" needs sorting out a little... must be a Ubot5 function! lol on load for example on alert boxes is a pain in the axx Quote Link to post Share on other sites
Bot-Factory 602 Posted April 2, 2014 Report Share Posted April 2, 2014 Elapsed time in seconds example: define $TimeDifference(#set) { set(#hour, $plugin function("time.dll", "$currenthour-24h"), "Global") set(#minute, $plugin function("time.dll", "$currentminute"), "Global") set(#second, $plugin function("time.dll", "$currentsecond"), "Global") if(#set) { then { set(#SavedTime, $add($add($multiply($multiply(#hour, 60), 60), $multiply(#minute, 60)), #second), "Global") } else { } } set(#CurrentTime, $add($add($multiply($multiply(#hour, 60), 60), $multiply(#minute, 60)), #second), "Global") if($comparison(#CurrentTime, ">", #SavedTime)) { then { return($subtract(#CurrentTime, #SavedTime)) } else { return($add($subtract(86400, #SavedTime), #CurrentTime)) } }} Quote Link to post Share on other sites
UBOTEM 18 Posted April 2, 2015 Report Share Posted April 2, 2015 Ahh! recently wiped my plugins for Ubot and need this time.dll back, and download not working Can anyone please share? Cant update one of my bots without it Quote Link to post Share on other sites
UBOTEM 18 Posted April 2, 2015 Report Share Posted April 2, 2015 Just booted up old lappy and found a copy Quote Link to post Share on other sites
matabond 1 Posted May 18, 2015 Report Share Posted May 18, 2015 HI, can somebody please re-upload this plugin? Thanks a lot in advance. Quote Link to post Share on other sites
socialcracker 59 Posted July 13, 2015 Author Report Share Posted July 13, 2015 HI, can somebody please re-upload this plugin? Thanks a lot in advance.Hi matabond,I moved to new server and forgot to reupload the files.Plugin is up for download again. Try downloading again. Quote Link to post Share on other sites
mithcd 4 Posted July 15, 2015 Report Share Posted July 15, 2015 Thanks for giving this for free! Trying this one out at the moment. Quote Link to post Share on other sites
cүвεя_נυηкιε 68 Posted January 14, 2016 Report Share Posted January 14, 2016 Just booted up old lappy and found a copy Hi UBOTEM, I know im dragging up an old thread here but i noticed that you had a copy of this plugin stashed on your PC,any chance i could grab a copy please pretty please ... Im quite good at grovelling if that will help CheersCJ Quote Link to post Share on other sites
UBOTEM 18 Posted January 15, 2016 Report Share Posted January 15, 2016 Yeah no worries will PM you tomorrow morning Yeah no worries will PM you tomorrow morning Quote Link to post Share on other sites
PRO 69 Posted January 16, 2016 Report Share Posted January 16, 2016 Hi UBOTEM, I would also beg you for a copy, if possible Quote Link to post Share on other sites
sunny9495 42 Posted January 16, 2016 Report Share Posted January 16, 2016 Hi UBOTEM, Can you PM me a copy too. Thanks in advance. Quote Link to post Share on other sites
luis carlos 94 Posted January 17, 2016 Report Share Posted January 17, 2016 May I ask one more copy here? Thanks guys Luis Carlos Quote Link to post Share on other sites
cүвεя_נυηкιε 68 Posted January 17, 2016 Report Share Posted January 17, 2016 Wow, .. errrmm, ... I seem to have started something here .. sorry 'bout that man CJ Quote Link to post Share on other sites
solstudioim 4 Posted February 3, 2016 Report Share Posted February 3, 2016 GuysThis little plugin is no longer there as well, please PM me the copy if you have. Thanks Quote Link to post Share on other sites
Ricx 3 Posted February 26, 2016 Report Share Posted February 26, 2016 I'd love to grab a copy of this as well, if someone could share that would be nice Quote Link to post Share on other sites
CanadaJones 3 Posted February 28, 2016 Report Share Posted February 28, 2016 Gonna join the club and ask that someone PM me a copy please? Thanks! Quote Link to post Share on other sites
cүвεя_נυηкιε 68 Posted February 28, 2016 Report Share Posted February 28, 2016 Just booted up old lappy and found a copy Hi, sorry to be a pain but did you forget about us mate ? I dont really need it anymore as i built my scheduler with alternate methods, but there is quite a que building up for this infamous file lol any chance you could drop us a DL link ? CheersCJ Quote Link to post Share on other sites
Franciscotorresny 0 Posted March 14, 2016 Report Share Posted March 14, 2016 anyone could try giving me a link to the plug in ? Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.