I'm trying so hard to understand how to use macros, I read the plugins page on wiki, installed the macros folder and I still can't figure out how to use correctly the macros.

Actually I'm trying to set up 2 macros:
1) Auto use butterfly wings ( http://forums.openkore.com/viewtopic.php?f=33&t=7940 )
2) Avoid traps ( http://forums.openkore.com/viewtopic.php?f=16&t=13056 )
So what I need to do exactly?
Save the macros code to .pl file and put them in openkore/plugins/ ?
For example, like this:
openkore/plugins/butterfly_w.pl
openkore/plugins/avoidTrap.pl
Or I need to write the code directly in to the openkore/control/macros.txt?
Also I need to change something in config.txt?
Really, I tryed almost everything, when I type macro list my output is blank.
Openkore don't load my macros or can't found them ( macro not found or error in queue error.)
Can someone please help me a little bit?