Help. Creating first plugin

this is what I used as reference

it says it can be scpt an the first line would help determine which kind of script it is