ID:155670
 
How to code that if i click a button on interface it executes a command
not on map on interface......
Create a button, and set it's "Command" field to the name of the verb you want it to execute.

If you haven't already, I would suggest you read through the Making skins in BYOND 4.0 set of articles. I'm not sure if they cover buttons, but once you get a handle on the basics, it's easy to learn the rest of the controls. The Skin Reference is also always a good place to look.