i need a code for 3 pages menu
1-Page
8 selections
button 9 is Next Page
2-Page
7 selections
button 8 is Next Page
button 9 is previous page
3-Page
7 selections
button 8 is Previous Page
menu("pg1,1,2,3,4,5,6,7,8,Next Pg") menu("pg2,1,2,3,4,5,6,7,Previous Pg,Next Pg") menu("pg3,1,2,3,4,5,6,7,Previous Pg") -- Put the above in where you want to call the menus. addhook("menu","yuss") function yuss(id,t,b) 	if t == "pg1" then 		if b==9 then 			menu("pg2,1,2,3,4,5,6,7,Previous Pg,Next Pg") 		end 	elseif t=="pg2" then 		if b==8 then 			menu("pg1,1,2,3,4,5,6,7,8,Next Pg") 		elseif b==9 then 			menu("pg3,1,2,3,4,5,6,7,Previous Pg,Next Pg") 		end 	elseif t=="pg3" then 		if b==8 then 			menu("pg2,1,2,3,4,5,6,7,Previous Pg,Next Pg") 		end 	end end