I wanna write a script inside a template using any plugin or something which refreshes my all templates (website/blog) depending upon the option passed .Is there any plugin available which can refresh all the templates similar to how it can be done using the Movable type backend ?
Reported on Movable Type 5

You can alter templates from a plugin by using Theme Framework.
http://www.movabletype.org/documentation/themes/index.html
http://www.movabletype.org/documentation/developer/theme/index.html
Hi Jun ,Thanks for the help but I am altering the template directly in the file system rather using the movable type backend for a quick development .I want a solution to refresh all the templates using some script so to cut off my efforts of going into backend for refreshing the templates after every change done....