socialcracker 59 Posted April 9, 2013 Report Share Posted April 9, 2013 Hello,I am providing this plugin for FREE.This plugin can be helpful for people who wish to make their own scheduler.For example. You can use this plugin to make bot run on every sunday to make website backups..To receive news and updates, please subscribe on the download page.Below are the functions (under system function):$currentweekday= Displays the current weekday.eg. Friday$currentmonth= Displays the current month.eg. April$currentyear= Displays current year. eg. 2013$currentday= Displays the day of the month, from 01 through 31.$currenthour-12h= Displays the current hour, using a 12-hour clock from 01 to 12.$currenthour-24h= Displays the current hour, using a 12-hour clock from 01 to 24.$currentminute= Displays the current minute from 00 through 59$currentsecond= Displays the current minute from 00 through 59$am or pm= The AM/PM designator.Feel free to suggest new ideas for this plugin.. You can download the plugin here : https://drive.google.com/file/d/0B4rgUEKPIh7cWjNfUlRxSGtERU0/view?usp=sharing PS: Sorry guys, i completely forgot about this plugin. I hardly use ubot anymore. I have updated the link and you can download it now. 13 Quote Link to post Share on other sites
beatngu 65 Posted April 9, 2013 Report Share Posted April 9, 2013 Cool a handy little plugin,thanks! Quote Link to post Share on other sites
VaultBoss 310 Posted April 9, 2013 Report Share Posted April 9, 2013 Hey Amit... Thanks, mate! I was using my own UBS coded DEFINEs for these manipulations, but a plugin to return the data like this is indeed coming in very handy. Thanks for sharing and the effort. Cheers! Quote Link to post Share on other sites
Aymen 385 Posted April 9, 2013 Report Share Posted April 9, 2013 pretty awesome plugin !Good Job Quote Link to post Share on other sites
Aymen 385 Posted April 9, 2013 Report Share Posted April 9, 2013 quick example to show you guys how to make a small scheduler set(#time to execute, "07:09", "Global") set(#current time, "{$plugin function("time.dll", "$currenthour-12h")}:{$plugin function("time.dll", "$currentminute")}", "Global") define task { alert("task running") } 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() } just specify the #time to execute to when the define command should be executed Once again , great contribution Amit 3 Quote Link to post Share on other sites
malefic 48 Posted April 9, 2013 Report Share Posted April 9, 2013 Oh you star - just hit a stage in a bot that was screaming out for this!! Thanks EDIT: Just realised this has no approved key, do you plan on getting one?Perhaps Ubot will give you one free as you are jobless and doing their job for them as people have been screaming out for a scheduler for a long time. Quote Link to post Share on other sites
wilriv21 16 Posted April 9, 2013 Report Share Posted April 9, 2013 Amit, thank you to adding to UBot Studio. Quote Link to post Share on other sites
Aymen 385 Posted April 9, 2013 Report Share Posted April 9, 2013 Oh you star - just hit a stage in a bot that was screaming out for this!! Thanks EDIT: Just realised this has no approved key, do you plan on getting one?Perhaps Ubot will give you one free as you are jobless and doing their job for them as people have been screaming out for a scheduler for a long time. It is approved and with a key !i checked it ! Quote Link to post Share on other sites
malefic 48 Posted April 9, 2013 Report Share Posted April 9, 2013 I get the not reviewed pop up when I add it in to Ubot?! http://i.imgur.com/KjhhkpT.png Quote Link to post Share on other sites
VaultBoss 310 Posted April 9, 2013 Report Share Posted April 9, 2013 Looks fine on my side Quote Link to post Share on other sites
malefic 48 Posted April 9, 2013 Report Share Posted April 9, 2013 Mmm, I see that and when I enable it I get:http://i.imgur.com/B1bl5un.png Will give Ubot a restart and try again Just incase - I am not disrespecting socialcracker in anyway....I have been waiting for something like this for yonks!! EDIT: okay, thats strange, Restarted Ubot and its now working, the 'unreviewed plugin' has gone and I see Amits name.Sorry for all that - and thanks again to Amit for the plugin Quote Link to post Share on other sites
socialcracker 59 Posted April 9, 2013 Author Report Share Posted April 9, 2013 Thanks everyone..the key is included in it.. (and its working fine here)I will try to talk with ubotteam.. Quote Link to post Share on other sites
malefic 48 Posted April 9, 2013 Report Share Posted April 9, 2013 Its working here now - restarted Ubot and then readded the plugin and its working now :\Thanks again for the plugin - appreciate the effort! Quote Link to post Share on other sites
zdot 14 Posted April 9, 2013 Report Share Posted April 9, 2013 thx a billion Amit you rock. It works perfectly on my side. Quote Link to post Share on other sites
dankass 52 Posted April 9, 2013 Report Share Posted April 9, 2013 Thanks man! Awesome freebie! Quote Link to post Share on other sites
socialcracker 59 Posted April 9, 2013 Author Report Share Posted April 9, 2013 Minor update*Changed category from "System functions" to "Time functions"Get it here : http://socialcracker.com/ubot/timeplugin/ Here is the updated link : https://drive.google.com/file/d/0B4rgUEKPIh7cWjNfUlRxSGtERU0/view?usp=sharing 2 Quote Link to post Share on other sites
merkaba 36 Posted April 9, 2013 Report Share Posted April 9, 2013 Awesome. Makes it so much easier to find. Quote Link to post Share on other sites
Anonym 53 Posted April 9, 2013 Report Share Posted April 9, 2013 Nice, socialcracker. I haven't tested it yet, but I assume it's a plugin for capturing the current time. If so, I actually have an idea for you. $timestamp (with parameters that directs the composition of the timestamp, parameters similar to what you would enter into PHP etc so that it can deal with ANY setup of time no matter in the world), http://php.net/manual/en/datetime.formats.time.php Again, thank you! Quote Link to post Share on other sites
socialcracker 59 Posted April 9, 2013 Author Report Share Posted April 9, 2013 Nice, socialcracker. I haven't tested it yet, but I assume it's a plugin for capturing the current time. If so, I actually have an idea for you. $timestamp (with parameters that directs the composition of the timestamp, parameters similar to what you would enter into PHP etc so that it can deal with ANY setup of time no matter in the world), http://php.net/manual/en/datetime.formats.time.php Again, thank you!I will definitely look into it.. Thanks. Quote Link to post Share on other sites
Legend 181 Posted April 10, 2013 Report Share Posted April 10, 2013 Thanks for the contribution... it works great and adds tremendous functionality! One request is to add $timeInMilliseconds which would be handy for calculating time differences (e.g., web page loading, etc.) Quote Link to post Share on other sites
socialcracker 59 Posted April 10, 2013 Author Report Share Posted April 10, 2013 Thanks for the contribution... it works great and adds tremendous functionality! One request is to add $timeInMilliseconds which would be handy for calculating time differences (e.g., web page loading, etc.) Sure thing.. I will add that today.. Quote Link to post Share on other sites
socialcracker 59 Posted April 10, 2013 Author Report Share Posted April 10, 2013 Version 1.2.0.0**Updated on 10th April, 2013-Added function called "$currentmillisecond" Download page: http://socialcracker.com/ubot/timeplugin/Here is the updated link : https://drive.google.com/file/d/0B4rgUEKPIh7cWjNfUlRxSGtERU0/view?usp=sharing 1 Quote Link to post Share on other sites
Legend 181 Posted April 10, 2013 Report Share Posted April 10, 2013 Version 1.2.0.0**Updated on 10th April, 2013-Added function called "$currentmillisecond" Download page: http://socialcracker.com/ubot/timeplugin/ You rock! Thanks mate!! Quote Link to post Share on other sites
rocket976 62 Posted April 10, 2013 Report Share Posted April 10, 2013 Thank you very much this is great! Quote Link to post Share on other sites
Bliss 194 Posted May 1, 2013 Report Share Posted May 1, 2013 Very nice addition. Thanks loads 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.