i know what u are trying to do, that's impossible, cuz first of all, in your whois code the /return doesn't know that it's belong to your $identifier, it's other event and /return returns the value only to your alias from the same alias. also, $identifier won't wait to a response from the server or something it will just do the commands in the alias and return only what u /return 'ed from the alias.