# How to condense variables passed through to function?

**URL:** <https://forum.mikrotik.com/t/how-to-condense-variables-passed-through-to-function/266499>\
**Category:** Scripting\
**Created:** [November 18, 2025, 4:59pm UTC](https://forum.mikrotik.com/t/how-to-condense-variables-passed-through-to-function/266499 "2025-11-18T16:59:58Z")\
**Posts on this page:** 1\
**Showing post:** 30

<div class="post-metadata">

**Author:** ![rextended](https://forum.mikrotik.com/user_avatar/forum.mikrotik.com/rextended/32/67729_2.png) [@rextended](https://forum.mikrotik.com/u/rextended)\
**Post date:** [November 19, 2025, 5:56pm UTC](https://forum.mikrotik.com/t/how-to-condense-variables-passed-through-to-function/266499/30 "2025-11-19T17:56:13Z")

</div>

Read this... repository of snippets...

> [@scissors Rextended Fragments of Snippets](https://forum.mikrotik.com/t/rextended-fragments-of-snippets/151033):
>
> Over the years I have published dozens of scripts, most need to be updated and are hard to find with standard search. And they also need to be checked if they are still valid for the new stable v7 version. I'm slowly re-reading all of my 10000 posts and I'll add here all the useful Snippets I found, with a description and the link to the topic where they are present. In the future, when I'm done, I'll index everything for better search. -----BEGIN PGP PUBLIC KEY BLOCK----- xsBNBGmLqa0BCAD…

---

_[View the full topic](https://forum.mikrotik.com/t/how-to-condense-variables-passed-through-to-function/266499)._
