script editor plugin

how to make an script editor plugin?
i dindt find anything on this argument , any help is welcome

Jobu made one, but I’d say this is more an obj-c question?

http://www.geocities.com/jobu10000/LibrarySE/index.html