Please don't double post! Use the edit button instead. =P We can't teach you how to code, but
this and
this can show you how you would code.
And if you need a place to find codes, then it's here. Check out the xanga scripts section. How did you see Xanga Help, but not Xanga Scripts when they're on the same line...
moved to programming