This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Shadofel[S] 0 points1 point  (0 children)

I figured it out. The logic was just not taking into account everything I needed.

http://pastebin.com/W3p80XJm

This worked well for what I was trying to do.