Is this the tutorial you are referring to?
If so, then what you are looking at is the actual event system but written as text. You don't do any so-called 'coding'.
As you obviously have no idea how C2 works, you should leave this tutorial aside and do one of the standard platform tutorials in the Tutorial section, and read the manual. This will then make the Megaman tutorial very easy to follow afterwards, as you'll then understand how C2 works.