if your going to go with epics suggestion i would suggest doing it this way
if (!$server) { server addyhere
}
else { server -m addyhere
}
}
this way it checks if your connected to a server and if you are it does the -m if not it won't use the -m since you have it set to show up in the status window:)