Cdwn

From ProjectWiki
(Difference between revisions)
Jump to: navigation, search
m (Reverted edits by Iqoquhir (Talk); changed back to last version by Wikisysop)
m (What is it?)
Line 1: Line 1:
 
<big>PERL Countdown Script for Irssi IRC Client</big>
 
<big>PERL Countdown Script for Irssi IRC Client</big>
 
== What is it? ==
 
== What is it? ==
Very configurable countdown till target date/time script for irssi originally ment to countdown to newyears... Among other things, it features multiple time zone support and ability to customize how the countdown is displayed.
+
Very configurable countdown till target date/time script for irssi originally ment to countdown to newyears... Among other things, it features multiple time zone <span class="plainlinks">[http://thebeginnerslens.com/ <span style="color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">iphone photography</span>] support and ability to customize how the countdown is displayed.
  
 
== Releases ==
 
== Releases ==

Revision as of 10:24, 30 October 2011

PERL Countdown Script for Irssi IRC Client

Contents

What is it?

Very configurable countdown till target date/time script for irssi originally ment to countdown to newyears... Among other things, it features multiple time zone iphone photography support and ability to customize how the countdown is displayed.

Releases

[Download latest release]

Example

Example use in an irc channel:

<@eris> !countdown
<@erroris> samy's countdown to legality is ongoing! Currently there are 36 days 06 hours 28 mins 09 seconds till
samy is allowed to use interwebs for perrsonal use, and chown all the tubes]

From the header:

# typing !cdwn (or whatever you set cdwn_trigger to) will report
# type !cdwn UTC-5 for EST, !cdwn UTC-8, !cdwn utc+9 for some asian weirdness etc
#
# Settings (default values shown):
# cdwn_target = 2007/1/1 00:00:00 // time/date to count down to USE THIS FORMAT!!!
# cdwn_dly = 1 // time between calls (prevents flooding)
# cdwn_utc = -5 // this computer's timezone in utc format MUST SET THIS!!
# cdwn_trigger = !cdwn // trigger to use in channels
# // These define what to say before and after the target date (can add colors or remove year etc etc)
# cdwn_til_str = $year years $mon months $day days til $tyear/$tmon/$tday $thour:$tmin:$tsec ($utc)
# cdwn_past_str =$year years $mon months $day days past $tyear/$tmon/$tday $thour:$tmin:$tsec ($utc)
#
# Note: $yday differs from $day (which is monthday) by displaying how many calender days
# till the target (as compared to monthdays which will never be > 30)

Download cdwn.pl.txt, remove the .txt extention and copy to ur .irssi/scripts/ dir (or .irssi/scripts/autorun/ :)

wget http://www.isabel.la/files/cdwn.pl.txt
mv cdwn.pl.txt ~/.irssi/scripts/cdwn.pl

and then type (from inside irssi):

/script load cdwn.pl

to load the script (unless you placed it in /autorun) and then type:

/set cdwn 

to see the settings.

Todo

(please do if u want!! ^_^)

  • Add channel filter
  • Add support for multiple countdowns

ENJOY! :D

Personal tools
irssi scripts
eggdrop scripts