Adding pagination to BBCode command handler