I tested and this not works! I run the first instance and $ddename returns mIRC and when I run the secondary instance, $ddename also returns mIRC. I resolved this issue using $coms that works perfectly. Although, thank you for your try.