Yeah, you could definately do this with events.
Since you'll never learn anything if I just tell you the answers, I'll be nice and give you a few hints.
- Get to know the move route function.
- Labels and Loops are your best friend.
- Variables are cool.
And biggest of all:
DON'T MAKE A SCRIPT FOR SOMETHING YOU CAN DO WITH EVENTS.
(Take Zylos' advice too, start off with something simpler. We don't want to do calculus when we haven't even mastered algebra, no?)