@IPZONEID[n] : Returns the IPv6 Zone ID (also known as a scope ID) for the adapter at index n. The values of the Zone ID are defined relative to the sending host

 

Example:

 

echo %@ipzoneid[0]