Yeah, Im aware of using hash tables, but this code is what I've been using on my bot before so I just copy/pasted it. smile