Why Can't I use monodevelop

Each time I want to edit a script, it automatically opens UltraEdit, even though I already set MonoDevelop for my external script editor.What Can I do about it?

Perhaps this is an issue of Deprecation, if indeed you are using the most up to date version.
This sounds like a case of your OS having hijacked File Association when you installed UltraEdit.