I haven't worked with RGSS2/3 yet, but I did teach myself RGSS in RMXP a while back. What I would suggest doing is to go into the pre-existing scripts for the different windows that come with the program and simply look at their method. With this, you should be able to take the code straight from that class and put it into your own, only changing certain names to match the name of the scene you made.