What is wrong with this script?!
5 replies



13.09.15 12:09:04 am
(2 topics a day! high score!!!)
Really I wasted the last 30 minutes not understanding what in the world is wrong with it, it shows no errors, it has no errors (for a newbie's eye) and I'm about to just delete this script and never see it again...
Beware, this script below is full of evil!
My problem is that the "Back" and "Start" buttons on the last page does nothing! They just close the window...
Really I wasted the last 30 minutes not understanding what in the world is wrong with it, it shows no errors, it has no errors (for a newbie's eye) and I'm about to just delete this script and never see it again...
Beware, this script below is full of evil!
My problem is that the "Back" and "Start" buttons on the last page does nothing! They just close the window...
It's hard being the best girl in the whole entire world
Code:
1
2
3
4
5
6
7
2
3
4
5
6
7
if title=="License System Page 5@b" then
if button==5 then
ls_4(id)
elseif button==6 then
ls_1(id)
end
end
if button==5 then
ls_4(id)
elseif button==6 then
ls_1(id)
end
end
Note: Not sure if it'll work because I didn't test the code, so it may has some problems. Try it.
You need to put this part
inside a
menu hook in order to make it work.
Code:
1
2
3
4
5
6
7
2
3
4
5
6
7
if men == "License System Page 5@b" then
if sel == 8 then
menu(id,"License System Page 4@b,"..pl_names[22]..","..pl_names[23]..","..pl_names[24]..","..pl_names[25]..","..pl_names[26]..","..pl_names[27]..","..pl_names[28]..",Back,Next")
elseif sel == 9 then
menu(id,"License System Page 1@b,"..pl_names[1]..","..pl_names[2]..","..pl_names[3]..","..pl_names[4]..","..pl_names[5]..","..pl_names[6]..","..pl_names[7]..",Back,Next")
end
end
if sel == 8 then
menu(id,"License System Page 4@b,"..pl_names[22]..","..pl_names[23]..","..pl_names[24]..","..pl_names[25]..","..pl_names[26]..","..pl_names[27]..","..pl_names[28]..",Back,Next")
elseif sel == 9 then
menu(id,"License System Page 1@b,"..pl_names[1]..","..pl_names[2]..","..pl_names[3]..","..pl_names[4]..","..pl_names[5]..","..pl_names[6]..","..pl_names[7]..",Back,Next")
end
end
inside a

[̲̅$̲̅(̲̅ ͡° ͜ʖ ͡°̲̅)̲̅$̲̅]
Never mind! I found the problem, well it isn't a problem it was just there was already this "if sel" thing far away from the menu function! So its fixed now!
It's hard being the best girl in the whole entire world



