Mercurial > hg > egg-tcls
annotate config.weather.example @ 533:195db79c82a8
weather: Update example configuration.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 07 Jul 2020 14:31:15 +0300 |
parents | 7c4cef80f826 |
children | f07c972e269a |
rev | line source |
---|---|
273
38a5bce4b078
weather: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
1 ########################################################################## |
38a5bce4b078
weather: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
2 # |
38a5bce4b078
weather: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
3 # Weather script configuration |
38a5bce4b078
weather: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
4 # |
38a5bce4b078
weather: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
5 ########################################################################## |
38a5bce4b078
weather: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
6 |
38a5bce4b078
weather: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
7 # Channels where weather functionality is enabled |
38a5bce4b078
weather: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
8 # set weather_channels "#foobar;#baz" |
38a5bce4b078
weather: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
9 # You can use * to match substrings or everything |
38a5bce4b078
weather: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
10 set weather_channels "*" |
38a5bce4b078
weather: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
11 |
38a5bce4b078
weather: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
12 |
38a5bce4b078
weather: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
13 # Default location if none given and none set by user. |
38a5bce4b078
weather: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
14 # Multiple can be specified as "foo;bar;etc" |
533
195db79c82a8
weather: Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
501
diff
changeset
|
15 set weather_default_locations "raahe lapaluoto;pattijoki" |
273
38a5bce4b078
weather: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
16 |
38a5bce4b078
weather: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
17 # Weather data file, must match the one in fetch_weather.pl's config |
38a5bce4b078
weather: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
18 set weather_datafile "/home/niinuska/bot/weather.data" |
38a5bce4b078
weather: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
19 |
38a5bce4b078
weather: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
20 # Alias data file |
38a5bce4b078
weather: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
21 set weather_aliasfile "/home/niinuska/bot/weather.alias" |
38a5bce4b078
weather: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
22 |
38a5bce4b078
weather: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
23 # How often to check the weather data file for updates (in minutes) |
533
195db79c82a8
weather: Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
501
diff
changeset
|
24 set weather_check_period 1 |
273
38a5bce4b078
weather: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
25 |
38a5bce4b078
weather: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
26 # Max number of results to be listed |
38a5bce4b078
weather: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
27 set weather_max_results 3 |
38a5bce4b078
weather: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
28 |
38a5bce4b078
weather: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
29 |
533
195db79c82a8
weather: Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
501
diff
changeset
|
30 # 1 = Enable logging of various script actions into bot's log |
195db79c82a8
weather: Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
501
diff
changeset
|
31 # 0 = Don't. |
273
38a5bce4b078
weather: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
32 set weather_logmsg 1 |
533
195db79c82a8
weather: Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
501
diff
changeset
|
33 |
195db79c82a8
weather: Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
501
diff
changeset
|
34 |
195db79c82a8
weather: Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
501
diff
changeset
|
35 # What IRC "command" should we use to send messages: |
195db79c82a8
weather: Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
501
diff
changeset
|
36 # (Valid alternatives are "PRIVMSG" and "NOTICE") |
273
38a5bce4b078
weather: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
37 set weather_preferredmsg "PRIVMSG" |
38a5bce4b078
weather: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
38 |
38a5bce4b078
weather: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
39 |
38a5bce4b078
weather: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
40 ### |
533
195db79c82a8
weather: Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
501
diff
changeset
|
41 ### Message texts (informal, errors, etc.) |
273
38a5bce4b078
weather: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
42 ### |
430
8efbb045d44d
weather: Implement searching for nearest of measurement stations based on given lat/long coordinates.
Matti Hamalainen <ccr@tnsp.org>
parents:
420
diff
changeset
|
43 set weather_msg_list_station [list "\002@station@\002 ( http://www.google.fi/maps/@@c_lat@,@c_lng@,18z )"] |
418
e904b453a06a
weather: Show weather station coordinates and Google Maps link in the station list search.
Matti Hamalainen <ccr@tnsp.org>
parents:
285
diff
changeset
|
44 |
501
7c4cef80f826
weather: Add some comments to the example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
498
diff
changeset
|
45 |
7c4cef80f826
weather: Add some comments to the example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
498
diff
changeset
|
46 # Array/list of wind directions (8 in total) |
498
01f226d6a992
weather: Split some of the message arrays/list items to separate lines for clarity and ease of editing.
Matti Hamalainen <ccr@tnsp.org>
parents:
492
diff
changeset
|
47 set weather_msg_wind_directions [list] |
01f226d6a992
weather: Split some of the message arrays/list items to separate lines for clarity and ease of editing.
Matti Hamalainen <ccr@tnsp.org>
parents:
492
diff
changeset
|
48 lappend weather_msg_wind_directions "pohjoinen (N)" |
01f226d6a992
weather: Split some of the message arrays/list items to separate lines for clarity and ease of editing.
Matti Hamalainen <ccr@tnsp.org>
parents:
492
diff
changeset
|
49 lappend weather_msg_wind_directions "koillinen (NE)" |
01f226d6a992
weather: Split some of the message arrays/list items to separate lines for clarity and ease of editing.
Matti Hamalainen <ccr@tnsp.org>
parents:
492
diff
changeset
|
50 lappend weather_msg_wind_directions "itä (E)" |
01f226d6a992
weather: Split some of the message arrays/list items to separate lines for clarity and ease of editing.
Matti Hamalainen <ccr@tnsp.org>
parents:
492
diff
changeset
|
51 lappend weather_msg_wind_directions "kaakko (SE)" |
01f226d6a992
weather: Split some of the message arrays/list items to separate lines for clarity and ease of editing.
Matti Hamalainen <ccr@tnsp.org>
parents:
492
diff
changeset
|
52 lappend weather_msg_wind_directions "etelä (S)" |
01f226d6a992
weather: Split some of the message arrays/list items to separate lines for clarity and ease of editing.
Matti Hamalainen <ccr@tnsp.org>
parents:
492
diff
changeset
|
53 lappend weather_msg_wind_directions "lounas (SW)" |
01f226d6a992
weather: Split some of the message arrays/list items to separate lines for clarity and ease of editing.
Matti Hamalainen <ccr@tnsp.org>
parents:
492
diff
changeset
|
54 lappend weather_msg_wind_directions "länsi (W)" |
01f226d6a992
weather: Split some of the message arrays/list items to separate lines for clarity and ease of editing.
Matti Hamalainen <ccr@tnsp.org>
parents:
492
diff
changeset
|
55 lappend weather_msg_wind_directions "luode (NW)" |
490
0d6dfcc1c957
weather: Add translation of weather direction angle.
Matti Hamalainen <ccr@tnsp.org>
parents:
489
diff
changeset
|
56 |
418
e904b453a06a
weather: Show weather station coordinates and Google Maps link in the station list search.
Matti Hamalainen <ccr@tnsp.org>
parents:
285
diff
changeset
|
57 |
533
195db79c82a8
weather: Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
501
diff
changeset
|
58 # Array/list of FMI cloudiness value descriptions |
195db79c82a8
weather: Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
501
diff
changeset
|
59 # (9 values ranging from "clear" to "cloudy") |
498
01f226d6a992
weather: Split some of the message arrays/list items to separate lines for clarity and ease of editing.
Matti Hamalainen <ccr@tnsp.org>
parents:
492
diff
changeset
|
60 set weather_msg_cloudiness [list] |
01f226d6a992
weather: Split some of the message arrays/list items to separate lines for clarity and ease of editing.
Matti Hamalainen <ccr@tnsp.org>
parents:
492
diff
changeset
|
61 lappend weather_msg_cloudiness "selkeää" |
01f226d6a992
weather: Split some of the message arrays/list items to separate lines for clarity and ease of editing.
Matti Hamalainen <ccr@tnsp.org>
parents:
492
diff
changeset
|
62 lappend weather_msg_cloudiness "melkein selkeää" |
01f226d6a992
weather: Split some of the message arrays/list items to separate lines for clarity and ease of editing.
Matti Hamalainen <ccr@tnsp.org>
parents:
492
diff
changeset
|
63 lappend weather_msg_cloudiness "verrattain selkeää" |
01f226d6a992
weather: Split some of the message arrays/list items to separate lines for clarity and ease of editing.
Matti Hamalainen <ccr@tnsp.org>
parents:
492
diff
changeset
|
64 lappend weather_msg_cloudiness "verrattain selkeää" |
01f226d6a992
weather: Split some of the message arrays/list items to separate lines for clarity and ease of editing.
Matti Hamalainen <ccr@tnsp.org>
parents:
492
diff
changeset
|
65 lappend weather_msg_cloudiness "puolipilvistä" |
01f226d6a992
weather: Split some of the message arrays/list items to separate lines for clarity and ease of editing.
Matti Hamalainen <ccr@tnsp.org>
parents:
492
diff
changeset
|
66 lappend weather_msg_cloudiness "verrattain pilvistä" |
01f226d6a992
weather: Split some of the message arrays/list items to separate lines for clarity and ease of editing.
Matti Hamalainen <ccr@tnsp.org>
parents:
492
diff
changeset
|
67 lappend weather_msg_cloudiness "verrattain pilvistä" |
01f226d6a992
weather: Split some of the message arrays/list items to separate lines for clarity and ease of editing.
Matti Hamalainen <ccr@tnsp.org>
parents:
492
diff
changeset
|
68 lappend weather_msg_cloudiness "melkein pilvistä" |
01f226d6a992
weather: Split some of the message arrays/list items to separate lines for clarity and ease of editing.
Matti Hamalainen <ccr@tnsp.org>
parents:
492
diff
changeset
|
69 lappend weather_msg_cloudiness "pilvistä" |
01f226d6a992
weather: Split some of the message arrays/list items to separate lines for clarity and ease of editing.
Matti Hamalainen <ccr@tnsp.org>
parents:
492
diff
changeset
|
70 |
01f226d6a992
weather: Split some of the message arrays/list items to separate lines for clarity and ease of editing.
Matti Hamalainen <ccr@tnsp.org>
parents:
492
diff
changeset
|
71 |
501
7c4cef80f826
weather: Add some comments to the example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
498
diff
changeset
|
72 # Array/list of Tiehallinto precipitation value descriptions |
498
01f226d6a992
weather: Split some of the message arrays/list items to separate lines for clarity and ease of editing.
Matti Hamalainen <ccr@tnsp.org>
parents:
492
diff
changeset
|
73 set weather_msg_precipitation [list] |
01f226d6a992
weather: Split some of the message arrays/list items to separate lines for clarity and ease of editing.
Matti Hamalainen <ccr@tnsp.org>
parents:
492
diff
changeset
|
74 lappend weather_msg_precipitation "poutaa" |
533
195db79c82a8
weather: Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
501
diff
changeset
|
75 lappend weather_msg_precipitation "heikkoa sadetta" |
195db79c82a8
weather: Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
501
diff
changeset
|
76 lappend weather_msg_precipitation "kohtalaista sadetta" |
195db79c82a8
weather: Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
501
diff
changeset
|
77 lappend weather_msg_precipitation "voimakasta sadetta" |
498
01f226d6a992
weather: Split some of the message arrays/list items to separate lines for clarity and ease of editing.
Matti Hamalainen <ccr@tnsp.org>
parents:
492
diff
changeset
|
78 lappend weather_msg_precipitation "heikkoa lumisadetta/räntää" |
533
195db79c82a8
weather: Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
501
diff
changeset
|
79 lappend weather_msg_precipitation "kohtalaista lumisadetta/räntää" |
195db79c82a8
weather: Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
501
diff
changeset
|
80 lappend weather_msg_precipitation "voimakasta lumisadetta/räntää" |
498
01f226d6a992
weather: Split some of the message arrays/list items to separate lines for clarity and ease of editing.
Matti Hamalainen <ccr@tnsp.org>
parents:
492
diff
changeset
|
81 |
01f226d6a992
weather: Split some of the message arrays/list items to separate lines for clarity and ease of editing.
Matti Hamalainen <ccr@tnsp.org>
parents:
492
diff
changeset
|
82 |
501
7c4cef80f826
weather: Add some comments to the example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
498
diff
changeset
|
83 # Array/list containing optional parts of the result message for one |
7c4cef80f826
weather: Add some comments to the example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
498
diff
changeset
|
84 # one measurement station. Every array element except the first one |
7c4cef80f826
weather: Add some comments to the example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
498
diff
changeset
|
85 # are optional and will only be appended to result string IF the |
7c4cef80f826
weather: Add some comments to the example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
498
diff
changeset
|
86 # named @token@ value is "set" e.g. not empty or in some cases invalid. |
498
01f226d6a992
weather: Split some of the message arrays/list items to separate lines for clarity and ease of editing.
Matti Hamalainen <ccr@tnsp.org>
parents:
492
diff
changeset
|
87 set weather_msg_result [list] |
533
195db79c82a8
weather: Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
501
diff
changeset
|
88 lappend weather_msg_result "\002@station@\002, @ctime@: \002@temp@°C\002" |
491
f5c023538e2a
fetch_weather, weather: Remove certain "data translation" from fetch_weather and move that into weather.tcl.
Matti Hamalainen <ccr@tnsp.org>
parents:
490
diff
changeset
|
89 lappend weather_msg_result ", tien pinta @road_surface_temp@°C" |
533
195db79c82a8
weather: Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
501
diff
changeset
|
90 lappend weather_msg_result ", kosteus \002@humidity@\002%" |
285
259f093c9503
weather: Make some more messages configurable.
Matti Hamalainen <ccr@tnsp.org>
parents:
274
diff
changeset
|
91 lappend weather_msg_result ", tuuli \002@wind_speed@\002 m/s" |
533
195db79c82a8
weather: Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
501
diff
changeset
|
92 #lappend weather_msg_result " (suunta @wind_direction@ - @wind_direction_deg@°)" |
195db79c82a8
weather: Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
501
diff
changeset
|
93 lappend weather_msg_result " - @wind_direction@" |
195db79c82a8
weather: Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
501
diff
changeset
|
94 lappend weather_msg_result ", \002@cloudiness@\002 (@cloudiness_val@)" |
195db79c82a8
weather: Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
501
diff
changeset
|
95 lappend weather_msg_result ", näkyvyys @visibility@ km" |
420 | 96 lappend weather_msg_result "." |
274 | 97 |
98 | |
99 set weather_msg_usage_prefix_1 "Käyttö: !sää " | |
100 set weather_msg_usage_prefix_2 " !sää " | |
101 | |
430
8efbb045d44d
weather: Implement searching for nearest of measurement stations based on given lat/long coordinates.
Matti Hamalainen <ccr@tnsp.org>
parents:
420
diff
changeset
|
102 set weather_msg_list_nearest $weather_msg_list_station |
8efbb045d44d
weather: Implement searching for nearest of measurement stations based on given lat/long coordinates.
Matti Hamalainen <ccr@tnsp.org>
parents:
420
diff
changeset
|
103 set weather_msg_usage_nearest "lähin <lat>\[, \]<long> -- näyttää annettuja koordinaatteja lähimpänä olevat mittausasemat" |
8efbb045d44d
weather: Implement searching for nearest of measurement stations based on given lat/long coordinates.
Matti Hamalainen <ccr@tnsp.org>
parents:
420
diff
changeset
|
104 set weather_msg_usage_nearest_invalid "lähin <lat>\[, \]<long> -- näyttää annettuja koordinaatteja lähimpänä olevat mittausasemat" |
8efbb045d44d
weather: Implement searching for nearest of measurement stations based on given lat/long coordinates.
Matti Hamalainen <ccr@tnsp.org>
parents:
420
diff
changeset
|
105 set weather_msg_nearest_stations "Lähimmät mittausasemat (%1, %2): %3" |
8efbb045d44d
weather: Implement searching for nearest of measurement stations based on given lat/long coordinates.
Matti Hamalainen <ccr@tnsp.org>
parents:
420
diff
changeset
|
106 |
8efbb045d44d
weather: Implement searching for nearest of measurement stations based on given lat/long coordinates.
Matti Hamalainen <ccr@tnsp.org>
parents:
420
diff
changeset
|
107 |
274 | 108 set weather_msg_usage_def_set "vakio <paikka>\[;<paikka2>\] -- asettaa vakiohavaintoaseman\nvakio -- näyttää nykyisen" |
109 set weather_msg_usage_alias "alias <alias> = <nimi> (Lisää alias-nimen, esim. alias perse = turku)" | |
273
38a5bce4b078
weather: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
110 set weather_msg_usage_unalias "unalias <alias> (Poistaa aliaksen)" |
38a5bce4b078
weather: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
111 |
38a5bce4b078
weather: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
112 set weather_msg_usage_stations "asemat <patterni> -- listaa mittausasemat joiden nimi matsaa patternin kanssa" |
38a5bce4b078
weather: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
113 |
38a5bce4b078
weather: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
114 set weather_msg_usage_full "\[paikka\]\n$weather_msg_usage_def_set\n$weather_msg_usage_alias\n$weather_msg_usage_unalias\n$weather_msg_usage_stations" |
38a5bce4b078
weather: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
115 |
38a5bce4b078
weather: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
116 set weather_msg_def_set "Vakio-havaintoasemiksi asetettu: \002%1\002." |
274 | 117 set weather_msg_defloc "Käyttäjän \002%1\002 vakio-havaintoasemat ovat: \002%2\002." |
118 set weather_msg_def_not_set "Vakio-havaintoasemia ei asetettu käyttäjälle \002%1\002." | |
273
38a5bce4b078
weather: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
119 |
38a5bce4b078
weather: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
120 set weather_msg_aliased "Aliasoitiin \002%1\002 = \002%2\002." |
38a5bce4b078
weather: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
121 set weather_msg_unaliased "Unaliasoitiin \002%1\002." |
38a5bce4b078
weather: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
122 set weather_msg_aliases "Aliakset: %1" |
38a5bce4b078
weather: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
123 |
274 | 124 set weather_msg_user_not_known "Tuntematon käyttäjä." |
273
38a5bce4b078
weather: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
125 set weather_msg_no_access "Ei oikeuksia muuttaa asetuksia." |
38a5bce4b078
weather: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
126 |
38a5bce4b078
weather: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
127 set weather_msg_stations "Mittausasemat: %1" |
38a5bce4b078
weather: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
128 |
38a5bce4b078
weather: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
129 set weather_msg_no_results "\002%1\002: Ei mittaustietoja." |
38a5bce4b078
weather: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
130 set weather_msg_no_data_for_location "\002%1\002: Paikkakunnan tietoja ei saatu." |
38a5bce4b078
weather: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
131 |
38a5bce4b078
weather: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
132 |
38a5bce4b078
weather: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
133 ### |
38a5bce4b078
weather: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
134 ### Bind commands |
38a5bce4b078
weather: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
135 ### |
274 | 136 bind pub - !sää weather_cmd_pub |
273
38a5bce4b078
weather: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
137 bind pub - !saa weather_cmd_pub |
274 | 138 bind msg - !sää weather_cmd_msg |
273
38a5bce4b078
weather: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
139 bind msg - !saa weather_cmd_msg |