mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2026-03-05 05:29:37 +00:00
Compare commits
1 commit
b167a2daed
...
376ed883d9
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
376ed883d9 |
2 changed files with 1 additions and 4 deletions
2
DEBUG.md
2
DEBUG.md
|
|
@ -42,7 +42,7 @@ Other actions (`disk`, `email`, `remote` or `support`) can be used as
|
|||
well. I do not recommend using `echo` - use [debug output](#debug-output)
|
||||
instead.
|
||||
|
||||
Disable or remove that setting to restore regular logging.
|
||||
Disable or remote that setting to restore regular logging.
|
||||
|
||||
## Verbose output
|
||||
|
||||
|
|
|
|||
|
|
@ -33,7 +33,6 @@
|
|||
:global GetRandom20CharAlNum;
|
||||
:global IfThenElse;
|
||||
:global LogPrint;
|
||||
:global LogPrintVerbose;
|
||||
:global MAX;
|
||||
:global MIN;
|
||||
:global MkDir;
|
||||
|
|
@ -97,8 +96,6 @@
|
|||
:local Uptime [ /system/resource/get uptime ];
|
||||
:foreach Update in=($JSON->"result") do={
|
||||
:set UpdateID ($Update->"update_id");
|
||||
$LogPrintVerbose debug $ScriptName ("Update " . $UpdateID . ": " . [ :serialize to=json $Update ]);
|
||||
|
||||
:local Message ($Update->"message");
|
||||
:local IsReply ([ :typeof ($Message->"reply_to_message") ] = "string");
|
||||
:local IsMyReply ($TelegramMessageIDs->[ :tostr ($Message->"reply_to_message"->"message_id") ]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue