mirror of
https://github.com/eworm-de/routeros-scripts
synced 2024-05-14 08:04:19 +00:00
super-mario-theme: simplify array access
This commit is contained in:
parent
bd92237003
commit
40931f4f28
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@
|
|||
|
||||
:foreach Beep in=$Beeps do={
|
||||
:if ([ :len $Beep ] = 2) do={
|
||||
:beep frequency=[ :pick $Beep 0 ] length=([ :pick $Beep 1 ] . "ms");
|
||||
:beep frequency=($Beep->0) length=(($Beep->1) . "ms");
|
||||
} else={
|
||||
:delay ($Beep . "ms");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue