Jump to content
UBot Underground

[Free Plugin] Time Plugin - Make Your Own Scheduler!


Recommended Posts

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. 

  • Like 13
Link to post
Share on other sites
  • Replies 54
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

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 web

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.

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/0B4rg

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!

Link to post
Share on other sites

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 :)

  • Like 3
Link to post
Share on other sites

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.

Link to post
Share on other sites

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 !

Link to post
Share on other sites

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 :)

Link to post
Share on other sites

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

  • Like 2
Link to post
Share on other sites

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!

Link to post
Share on other sites

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.
Link to post
Share on other sites

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

 

:rolleyes:

Link to post
Share on other sites

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

 

:rolleyes:

Sure thing.. I will add that today..
Link to post
Share on other sites

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

  • Like 1
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...