Didnt reply to anyone !
Thnx for all help dudes, i fond a code that work the way i want it to, rewrote it a bit to more fit my needs

Now i have one more problem, this will return the active network ID:
//echo -a -->> $activecid
but how would i identify network names for the two connections i have? 1 and 2 dosent say much about what name the network have :tongue: and $network only return the network name of the first one i connected to :tongue: