$result is already a built-in identifier for mIRC. You'll want to be careful when creating aliases that use an existing name.
Oh, ic thanks :D
not working
Oh, ic thanks :D