mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2026-03-05 05:29:37 +00:00
Compare commits
50 commits
f1af3e1dbc
...
b88c2a14cc
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b88c2a14cc | ||
|
|
d7628f0310 | ||
|
|
9f24bb0a26 | ||
|
|
950a4b94ba | ||
|
|
8644a7f4a3 | ||
|
|
8b2ae87892 | ||
|
|
8da55ba82d | ||
|
|
e75d986fe7 | ||
|
|
8019d6b788 | ||
|
|
6e0f9c26cc | ||
|
|
2d4316da3f | ||
|
|
93aef0f6d5 | ||
|
|
07551cd562 | ||
|
|
fee36452b9 | ||
|
|
4222d11f11 | ||
|
|
f095b581e7 | ||
|
|
3d10fd82c8 | ||
|
|
661aad522b | ||
|
|
414870f051 | ||
|
|
4561b17dbf | ||
|
|
f18930688e | ||
|
|
6ccc37334c | ||
|
|
4b4346d0b4 | ||
|
|
937ac0aaba | ||
|
|
fdcd5f8b01 | ||
|
|
954bee9949 | ||
|
|
5caf54b26e | ||
|
|
29c6151d1e | ||
|
|
0acb501ff5 | ||
|
|
9b9233a013 | ||
|
|
8c7cd61892 | ||
|
|
ee9d61e28a | ||
|
|
48eca31f3c | ||
|
|
55e568414c | ||
|
|
912061b624 | ||
|
|
172ca2c709 | ||
|
|
c0ea72ec7a | ||
|
|
4cdcd081e5 | ||
|
|
9b46c36641 | ||
|
|
efd259f868 | ||
|
|
d419e58abd | ||
|
|
0e891b0963 | ||
|
|
c36e303e01 | ||
|
|
fc742edc58 | ||
|
|
cefc9d7e4b | ||
|
|
72a7f20a64 | ||
|
|
5cc8b7281a | ||
|
|
89f569c7c0 | ||
|
|
3422783191 | ||
|
|
48336ac82c |
3 changed files with 8 additions and 6 deletions
|
|
@ -8,7 +8,6 @@
|
|||
|
||||
# Warning: Do *NOT* copy this line to overlay!
|
||||
:global GlobalConfigReady false;
|
||||
|
||||
# || ... but
|
||||
# \||/ start
|
||||
# \/ here!
|
||||
|
|
@ -271,10 +270,11 @@
|
|||
"cert2-cn"="4n0th3r-s3cr3t";
|
||||
};
|
||||
|
||||
# /\ Warning: Do *NOT* copy
|
||||
# /\7\ the code below to overlay!
|
||||
# /_()_\ Things *will* break!
|
||||
#
|
||||
# load custom settings from overlay and snippets
|
||||
# /\ Warning: Do *NOT*
|
||||
# /\7\ copy this code
|
||||
# /_()_\ to overlay!
|
||||
:foreach Script in=([ /system/script/find where name="global-config-overlay" ], \
|
||||
[ /system/script/find where name~"^global-config-overlay.d/" ]) do={
|
||||
:onerror Err {
|
||||
|
|
|
|||
|
|
@ -189,7 +189,7 @@
|
|||
|
||||
:local HTTPData ("chat_id=" . $ChatId . "&disable_notification=" . ($Notification->"silent") . \
|
||||
"&reply_to_message_id=" . ($Notification->"replyto") . "&message_thread_id=" . $ThreadId . \
|
||||
"&disable_web_page_preview=true&parse_mode=MarkdownV2");
|
||||
"&disable_web_page_preview=true&parse_mode=MarkdownV2");
|
||||
:onerror Err {
|
||||
:if ([ $CertificateAvailable "Go Daddy Root Certificate Authority - G2" ] = false) do={
|
||||
$LogPrint warning $0 ("Downloading required certificate failed.");
|
||||
|
|
|
|||
|
|
@ -107,7 +107,9 @@
|
|||
:local ThreadId [ $IfThenElse ($Message->"is_topic_message") ($Message->"message_thread_id") "" ];
|
||||
|
||||
:foreach IdsTrusted in=($TelegramChatId, $TelegramChatIdsTrusted) do={
|
||||
:if ($From->"id" = $IdsTrusted || $From->"username" = $IdsTrusted) do={
|
||||
:if ($From->"id" = $IdsTrusted || \
|
||||
$From->"username" = $IdsTrusted || \
|
||||
$Chat->"id" = $IdsTrusted) do={
|
||||
:set Trusted true;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue