08.12.2010, 21:05
you should gaze through scripts that you know include these functions.. nobody here will just give you a code and these things that you ask for isn't the easiest stuff to start with... you will learn it in time.. but as i said, the best way to learn is to look in other scripts.