Update: Got the basics to work now! (Posted some days ago and it was just approved by moderators and popped up). It was my gateway number that was wrong. Still interested in seeing someone elses more refined code though. Did not understand some of the "tricks" discussed here and is always good way to learn to study code programmed by better programmers.
Update: Got the basics to work now! (Posted some days ago and it was just approved by moderators and popped up). It was my gateway number that was wrong. Still interested in seeing someone elses more refined code though. Did not understand some of the "tricks" discussed here and is always good way to learn to study code programmed by better programmers.