I want to make a 2 pages menu but I don't know how to make.Please help.
Scripts
Two pages menu
Two pages menu
1

addhook("serveraction","_action")
function _action(id,a)
	if a == 1 then
		menu(id,"Test,1,2,3,4,5,6,7,8,Next")
	end
end
addhook("menu","_menu")
function _menu(id,title,button)
	if title== "Test" then
		if button == 9 then
			menu(id,"Test 2,1,2,3,4,5,6,7,8,9")
		end
	end
end
addhook("serveraction","_action")
function _action(id,b)
if b == 1 then
menu(id,"Menu,1,2,3,4,5,6,7,8,Next")
end
end
addhook("menu","_menu")
function _menu(id,title,button)
if title== "Test" then
if button == 9 then
menu(id,"Menu,9,10,11,12,13,14,15,16,17")
	end
end
@
Jynxxx: @
knight-:
Jynxxx has written
Jynxxx:
Jynxxx:
Jynxxx: Sory I'm Stupid addhook("menu","_menu")
function _menu(id,title,button) -- this is your menu function you place one end at the bottom or after done with the hook
	if title== "Test" then -- If statements need 1 end at all times
		if button == 9 then -- here is another if statement so you place another end
			menu(id,"Menu,9,10,11,12,13,14,15,16,17")
		end -- this end is to close the if button statement
	end -- this end it to close the if title statement
end -- this end is to close the function
1
