mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-08-28 22:08:50 +02:00
global-functions*: syntax for ROS 7.x
Strings with escape sequence have to be enclosed in parentheses. Looks like RouterOS 7.x is stricter here...
This commit is contained in:
parent
150c228197
commit
70f9c7926b
3 changed files with 8 additions and 8 deletions
|
@ -135,7 +135,7 @@
|
|||
plain=$Plain; formatted=$Formatted };
|
||||
:if ([ :len [ / system scheduler find where name="FlushMatrixQueue" ] ] = 0) do={
|
||||
/ system scheduler add name=FlushMatrixQueue interval=1m start-time=startup \
|
||||
on-event=":global FlushMatrixQueue; \$FlushMatrixQueue;";
|
||||
on-event=(":global FlushMatrixQueue; \$FlushMatrixQueue;");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -141,7 +141,7 @@
|
|||
parsemode=$ParseMode; text=$Text; silent=($Notification->"silent") };
|
||||
:if ([ :len [ / system scheduler find where name="FlushTelegramQueue" ] ] = 0) do={
|
||||
/ system scheduler add name=FlushTelegramQueue interval=1m start-time=startup \
|
||||
on-event=":global FlushTelegramQueue; \$FlushTelegramQueue;";
|
||||
on-event=(":global FlushTelegramQueue; \$FlushTelegramQueue;");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue