Compare commits
42 commits
c8481c1619
...
79c98a4b3a
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
79c98a4b3a | ||
|
|
e49f68c1f2 | ||
|
|
2f4e83990a | ||
|
|
77dc0565a9 | ||
|
|
564c7f6bbc | ||
|
|
6718b90780 | ||
|
|
e6faf346c2 | ||
|
|
295fa3144a | ||
|
|
b65f3512d0 | ||
|
|
8a904dadf4 | ||
|
|
fa64e8906b | ||
|
|
2feaaf36b2 | ||
|
|
30743c0e87 | ||
|
|
725eb834f4 | ||
|
|
b97a434a9c | ||
|
|
70675a9fee | ||
|
|
e0b12a9050 | ||
|
|
a64e9bed80 | ||
|
|
e10455fb18 | ||
|
|
ed9dee3c5f | ||
|
|
4f778cb1c6 | ||
|
|
a61fbfb75c | ||
|
|
903a3f44a0 | ||
|
|
638258000b | ||
|
|
b285f2c5d2 | ||
|
|
93eb218589 | ||
|
|
45e2f7b0a8 | ||
|
|
b29f3535b6 | ||
|
|
fa9c4be576 | ||
|
|
ce37544bae | ||
|
|
aeca778284 | ||
|
|
af5f01a973 | ||
|
|
0b7528db99 | ||
|
|
54612e333f | ||
|
|
05f0838119 | ||
|
|
c6451c87f1 | ||
|
|
4935c81bd9 | ||
|
|
d12be8f1ac | ||
|
|
c4a060c3d4 | ||
|
|
f3afee3e4b | ||
|
|
82587ec589 | ||
|
|
edd51ca719 |
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 2.7 KiB |
|
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 2 KiB |
|
Before Width: | Height: | Size: 7.9 KiB After Width: | Height: | Size: 5 KiB |
|
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 4.7 KiB |
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 2.3 KiB |
|
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 3.1 KiB |
|
Before Width: | Height: | Size: 5 KiB After Width: | Height: | Size: 6 KiB |
|
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 1.8 KiB |
|
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 2.6 KiB |
|
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.9 KiB |
|
Before Width: | Height: | Size: 4 KiB After Width: | Height: | Size: 2.9 KiB |
|
Before Width: | Height: | Size: 7.5 KiB After Width: | Height: | Size: 4.1 KiB |
|
Before Width: | Height: | Size: 4.5 KiB After Width: | Height: | Size: 2.8 KiB |
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.8 KiB |
|
|
@ -225,7 +225,7 @@ cleanup add a scheduler entry.
|
|||
|
||||
$ScriptInstallUpdate dhcp-to-dns,lease-script;
|
||||
/ip/dhcp-server/set lease-script=lease-script [ find ];
|
||||
/system/scheduler/add name="dhcp-to-dns" interval=5m on-event="/system/script/run dhcp-to-dns;";
|
||||
/system/scheduler/add name="dhcp-to-dns" interval=5m start-time=startup on-event="/system/script/run dhcp-to-dns;";
|
||||
|
||||

|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
|
||||
<p class="foot">RouterOS Scripts documentation generated on <i>__DATE__</i> for <i>__VERSION__</i></p>
|
||||
<p class="foot">RouterOS Scripts documentation generated on <i>__DATE__</i> for <i>__VERSION__</i><br />
|
||||
Copyright © 2013-2025 Christian Hesse <mail@eworm.de></p>
|
||||
|
||||
</body></html>
|
||||
|
|
|
|||
|
|
@ -56,4 +56,7 @@ a profile photo</a> for your Telegram bot.</p>
|
|||
|
||||
<p><a href="../README.md">⬅️ Go back to main README</a><br/>
|
||||
<a href="#top">⬆️ Go back to top</a></p>
|
||||
|
||||
<p class="foot">Copyright © 2013-2025 Christian Hesse <mail@eworm.de></p>
|
||||
|
||||
</body></html>
|
||||
|
|
|
|||
|
|
@ -51,4 +51,7 @@ notification and download it.</p>
|
|||
|
||||
<p><a href="../README.md">⬅️ Go back to main README</a><br/>
|
||||
<a href="#top">⬆️ Go back to top</a></p>
|
||||
|
||||
<p class="foot">Copyright © 2013-2025 Christian Hesse <mail@eworm.de></p>
|
||||
|
||||
</body></html>
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 5.1 KiB After Width: | Height: | Size: 3.5 KiB |
BIN
doc/mod/inspectvar.d/01-inspectvar.avif
Normal file
|
After Width: | Height: | Size: 4.1 KiB |
|
Before Width: | Height: | Size: 2.8 KiB |
|
|
@ -33,7 +33,7 @@ Call the function `$InspectVar` with a variable as parameter:
|
|||
|
||||
$InspectVar $ModeButton;
|
||||
|
||||

|
||||

|
||||
|
||||
---
|
||||
[⬅️ Go back to main README](../../README.md)
|
||||
|
|
|
|||
BIN
doc/mod/ipcalc.d/01-ipcalc.avif
Normal file
|
After Width: | Height: | Size: 2.5 KiB |
BIN
doc/mod/ipcalc.d/02-ipcalcreturn.avif
Normal file
|
After Width: | Height: | Size: 2.2 KiB |
|
Before Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 1.2 KiB |
|
|
@ -43,7 +43,7 @@ It expects an IP address in CIDR notation as argument.
|
|||
|
||||
$IPCalc 192.168.88.1/24;
|
||||
|
||||

|
||||

|
||||
|
||||
### IPCalcReturn
|
||||
|
||||
|
|
@ -53,7 +53,7 @@ the information in a named array.
|
|||
|
||||
:put ([ $IPCalcReturn 192.168.88.1/24 ]->"broadcast");
|
||||
|
||||

|
||||

|
||||
|
||||
---
|
||||
[⬅️ Go back to main README](../../README.md)
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 2.6 KiB |
|
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 2.5 KiB |
|
Before Width: | Height: | Size: 35 KiB After Width: | Height: | Size: 35 KiB |
BIN
doc/mod/notification-telegram.d/02-getchatid.avif
Normal file
|
After Width: | Height: | Size: 2.8 KiB |
|
Before Width: | Height: | Size: 38 KiB After Width: | Height: | Size: 38 KiB |
|
Before Width: | Height: | Size: 3.8 KiB |
|
|
@ -36,7 +36,7 @@ Configuration
|
|||
Open Telegram, then start a chat with [BotFather ↗️](https://t.me/BotFather) and
|
||||
create your own bot:
|
||||
|
||||

|
||||

|
||||
|
||||
Set that token from *BotFather* (use your own!) to `TelegramTokenId`, for
|
||||
now just temporarily:
|
||||
|
|
@ -49,7 +49,7 @@ then send your first message. Any text will do. On your device run
|
|||
|
||||
$GetTelegramChatId;
|
||||
|
||||

|
||||

|
||||
|
||||
Finally edit `global-config-overlay`, add `TelegramTokenId` with the token
|
||||
from *BotFather* and `TelegramChatId` with your retrieved chat id. Then
|
||||
|
|
@ -104,7 +104,7 @@ Tips & Tricks
|
|||
You can use a profile photo for your bot to make it recognizable. Open the
|
||||
chat with [BotFather ↗️](https://t.me/BotFather) and set it there.
|
||||
|
||||

|
||||

|
||||
|
||||
Have a look at my [Logo Color Changer](../../contrib/logo-color.html)
|
||||
to create a colored version of this scripts' logo.
|
||||
|
|
|
|||
BIN
doc/mod/scriptrunonce.d/01-scriptrunonce.avif
Normal file
|
After Width: | Height: | Size: 3 KiB |
|
Before Width: | Height: | Size: 2.3 KiB |
|
|
@ -50,7 +50,7 @@ The function `$ScriptRunOnce` expects an URL (or name if
|
|||
|
||||
$ScriptRunOnce https://rsc.eworm.de/main/doc/mod/scriptrunonce.d/hello-world.rsc;
|
||||
|
||||

|
||||

|
||||
|
||||
Giving multiple scripts is possible, separated by comma.
|
||||
|
||||
|
|
|
|||