Get active profile in dragscript

is possible way to know what the current active profile is, from a dragscript?

i want change profile but is impossible without disconnect.
of course disconnect is risky… it be much better to avoid if not necessary


if profile == `default` then
    disconnect

this would be good

Use the dedicated environment variable

https://wiki.starkeeper.it/index.php/DragScript_Environment_Variables

2 Likes

this look good
thank