Trying to create drunk effect any help at all

hi i hav been tryin to create a drunk effect using an mc as a mouse but as the person gets drunker the movie clip sways more and more creating the drunk effect
the user has to try n control the drunk twat as the swaying increases

now i hav a fair understanding on how to do this even tho im new to programming to increase and decrease the _x axis as the time increases but it has to increment randomly on the minus and plus of the x axis one after the other and i have no idea on how to do that

any help at all really iv been wrecking my head for days on this and still cant figure it out