Sockmark
From Scriptwiki
/sockmark <name> [text]
The /sockmark command fills the .mark attribute of a socket with the specified info for later reference via the $sock().mark property. If you do not specify any text, the mark is cleared. The mark can hold up to 512 bytes.
Note: You can use a wildcard name to set the same information at once for all connections that match the wildcard.