mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2025-06-29 13:10:03 +02:00
mod/inspectvar: use $CharacterMultiply
This commit is contained in:
parent
1f4290f4be
commit
3521995dbc
1 changed files with 3 additions and 5 deletions
|
@ -33,11 +33,9 @@
|
||||||
:local Value [ :tostr $2 ];
|
:local Value [ :tostr $2 ];
|
||||||
:local Level [ :tonum $3 ];
|
:local Level [ :tonum $3 ];
|
||||||
|
|
||||||
:local Indent "";
|
:global CharacterMultiply;
|
||||||
:for I from=1 to=$Level step=1 do={
|
|
||||||
:set Indent ($Indent . " ");
|
:return ([ $CharacterMultiply " " $Level ] . "-" . $Prefix . "-> " . $Value);
|
||||||
}
|
|
||||||
:return ($Indent . "-" . $Prefix . "-> " . $Value);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
:local TypeOf [ :typeof $Input ];
|
:local TypeOf [ :typeof $Input ];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue