Is it possible to create "Wifi" wires?

This scripting is just an example, an easy one, but it was just to show how it works.

And I didn’t learn about function/macro, how to access to it ?