Not a wise idea to use a global var. because the list could get tremendous and cause errors. If it were me, I would use mIRC\'s address book to save the data. My second choice would be hash tables.
$() can be used to join multiple things together in a match text, though $($) actually says that there is a dollar sign at the beginning.. That was the author\'s intention. ;P