![]() |
weather.tcl - Version imprimable +- Communauté Eggdrop (https://forum.eggdrop.fr) +-- Forum : English help (https://forum.eggdrop.fr/forumdisplay.php?fid=25) +--- Forum : Tcl scripts (https://forum.eggdrop.fr/forumdisplay.php?fid=27) +---- Forum : Scripts support & releases (https://forum.eggdrop.fr/forumdisplay.php?fid=31) +---- Sujet : weather.tcl (/showthread.php?tid=1790) |
weather.tcl - aslpls - 07/05/2024 Hi @Crazycat can you help me to add a cron of every 30min to show the weather in specific channel. i can post the whole code in here because it says, Please correct the following errors before continuing: You're not allowed to put url in the post Please see attached file. RE: weather.tcl - CrazyCat - 07/05/2024 (07/05/2024, 12:17)aslpls a écrit : Hi @CrazycatYou know, a forum as multiple participant, don't ask only one to help you, ask the community. (07/05/2024, 12:17)aslpls a écrit : i can post the whole code in here because it says,This is because you have not enough posts, this is an antispam rule Just add the following lines in your script: tcl
RE: weather.tcl - aslpls - 07/05/2024 sorry man.. no worries this is noted. Thanks a lot for the help. RE: weather.tcl - aslpls - 08/05/2024 tcl
the cron is not showing from the channel, but there's no error after all. if anyone knows what's the matter, please help. RE: weather.tcl - CrazyCat - 08/05/2024 Did you well set the city and the chan ? And has the chan the +weather flag ? The cron just call the main proc, so the script must be enabled on the chan. RE: weather.tcl - aslpls - 08/05/2024 yes i did.. everything well set. and with the +weather flag RE: weather.tcl - CrazyCat - 08/05/2024 Ok, there is an error, strange you don't get it in partyline: Code : [15:24:00] Tcl error [aweather]: can't read "botnick": no such variable Tested with the new proc: tcl
Code : 15:23:19 <+CrazyCat> !w london RE: weather.tcl - aslpls - 08/05/2024 Thank you it is now working.. |