In theory a variable can never be encrypted it can always be viewed. Weither you $encode your password it can always be viewed.
The only thing I can think that comes to mind is maybe making a small algorhitm with hash routine in your script but then again mIRC might not allow you to go that far unless you use a .dll