weather.tcl
#2
(07/05/2024, 12:17)aslpls a écrit : Hi @Crazycat
You 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,
Please correct the following errors before continuing:

You're not allowed to put url in the post
This is because you have not enough posts, this is an antispam rule

Just add the following lines in your script:
tcl
# Set the city you want
set wcity "London"
# Set the chan you want
set wchan "#mychan"
proc aweather {min hour day month dow} {
   weather $botnick [getchanhost $botnick $::wchan] $botnick $::wchan $::wcity
}
bind cron - "*/30 * * * *" aweather


Répondre


Messages dans ce sujet
weather.tcl - par aslpls - 07/05/2024, 12:17
RE: weather.tcl - par CrazyCat - 07/05/2024, 13:14
RE: weather.tcl - par aslpls - 07/05/2024, 13:31
RE: weather.tcl - par aslpls - 08/05/2024, 10:18
RE: weather.tcl - par CrazyCat - 08/05/2024, 11:57
RE: weather.tcl - par aslpls - 08/05/2024, 15:09
RE: weather.tcl - par CrazyCat - 08/05/2024, 15:28
RE: weather.tcl - par aslpls - 08/05/2024, 18:20

Atteindre :


Utilisateur(s) parcourant ce sujet : 1 visiteur(s)
Tchat 100% gratuit -Discutez en toute liberté