You put all custom scripts right above main (you insert it by right-clicking 'Main' and choose the first alternative 'Insert'. If you're too lazy to do this you can always just mark 'Main' and press the 'Ins'-key ('Insert')). Now you just put down the script and save it.
Although, the code Lackluster posted requires SDK, so you have to install that first. This you do by post the SDK-scripts above main, every other custom script has to be placed under the SDK-scripts. (The order is following: 1. Standard Scripts (come with the software) 2. SDK-scripts 3. Scripts using SDK 4. Other custom scripts 4. 'Main')
Was that helping? I hope so... And also, maybe I detailed this post a little too much. Did I...? Well, well, I hope that answered your question!
~Kesshomaru
PS! I'm not saying that it is, bacause it's totally your call (and maybe some moderators), but if your original question has been covered this far, please add [RESOLVED] to the topic title! // (Nintendo) DS. ( xP )
EDIT: Dang... I
knew I shouldn't have detailed the topic so much... Now
someone (sorry, ChaosSpartan... ^^') had the time to write another topic, and post it before I did...! T_T xP
EDIT 2: Oh, btw... If you want to know how to install SDK, just PM me, and I'll help you! ^^