Yeah, don't go there. Actually, it was a scam that I and a classmate had going. Very simple yet quite effective. Attendance was taken by filling out a sheet much like a Scantron test form. You fill in the bubble next to a student's name in pencil when the student is not there. Then the teacher would put the form on a clip outside the door. Me and this guy Matt had an arrangement worked out where, if I was gone, he would ask to go to the bathroom after attendance was taken and would erase the filled-out bubble next to my name. And vice versa when he was gone.
Despite missing so much of the class, we both still aced it. It made for a fun senior year.