Mercurial > hg > egg-tcls
view help.tcl @ 447:11124f9bf994
fetch_weather: Instead of checking the latest static metadata update timestamp against the weather data XML, have a setting of days until the metadata is considered stale.
This is because the new REST/JSON API does not provide the metadata updated timestamp anymore.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 28 Sep 2017 15:19:09 +0300 |
parents | b4fdb3300faa |
children |
line wrap: on
line source
########################################################################## # Niinuska Help ########################################################################## set nn_message "Niinuska Help v0.2 by ccr/TNSP" set nn_preferredmsg "PRIVMSG" putlog "$nn_message" bind pub - !help nn_pubmsg bind pub - !apua nn_pubmsg # ------------------------------------------------------------------------ proc nn_smsg {udest umsg} { global nn_preferredmsg putserv "$nn_preferredmsg $udest :$umsg" } # ------------------------------------------------------------------------ proc nn_pubmsg {unick uhost uhand uchan uargs} { nn_smsg $uchan "Lisätietoja Niinuskan toiminnoista: \002http://tnsp.org/irc/\002 ja \002http://tnsp.org/irc/readme.php\002" return 1 } # ------------------------------------------------------------------------