Create A new Modul

Hey I want to create a new modul.But When I create a modul this modul not working.For example modul has a counter function.İf this function will work I can understand working modul.

Can you help me ?

Imported from wikidot