function info(id,act)
if act==2 then
menu(id,"Information,Mapper,Scripter")
end
end
how to make when you press Mapper or Scripter it displays a message
Scripts
Menu
Menu
1

addhook("menu","stuff")
function stuff(id,button,title)
	if title=="Information" then
		if button==1 then
			msg2(id,"Your message here")
		elseif button==2 then
			msg2(id,"Your message here")
		end
	end
end
Flame has writtenaddhook("serveraction","info")
function info(id,act,men)
if act==2 then
menu(id,"Information,Mapper,Scripter")
if men == [[Mapper] then
parse(msg "Textwhatyouwant")
end
if men == [[Scripter] then -- Continue
end
end
function stuff(id,title,button)
Flacko has written
Yates has written
Flacko has writtenaddhook("menu","stuff")
function stuff(id,title,button) -- Title and button have been switched.
	if title=="Information" then
		if button==1 then
			msg2(id,"Your message here")
		elseif button==2 then
			msg2(id,"Your message here")
		end
	end
end
1
