Former Staff Shisui 490 Posted April 19, 2014 Former Staff Share Posted April 19, 2014 Where is the error? When i click 'lel' the window closes. quest warpring begin state start begin when 70007.use begin say_size(350, 360) addimage(21,7,"nost.tga") setcolor(0,0,0) say_black("") say_black("") say_title ( "Warp Ring" ) say ( "" ) say ( "azddxvcxvxcv." ) local opzioni =select ("things","lel") if opzioni == 1 then local opzioni2 =select ("Map 1 Jinno","Map 2 Jinno","Map 1 Chunjo","Map 2 Chunjo","Map 1 Shinsoo","Map 2 Shinsoo","Cancel") if opzioni2 == 1 then pc . warp ( 969600 , 278400 ) elseif opzioni2 == 2 then pc . warp ( 873100 , 242600 ) elseif opzioni2 == 3 then pc . warp ( 55700 , 157900 ) elseif opzioni2 == 4 then pc . warp ( 138500 , 234900 ) elseif opzioni2 == 5 then pc . warp ( 469300 , 964200 ) elseif opzioni2 == 6 then pc . warp ( 360800 , 877600 ) elseif opzioni2 == 7 then return elseif opzioni == 2 then say_title ( "Warp Ring" ) say ( "" ) say ( "azddxvcxvxcv." ) end end end end end Thanks. Link to comment Share on other sites More sharing options...
RoxaLyssa 310 Posted April 19, 2014 Share Posted April 19, 2014 quest warpring begin state start begin when 70007.use begin say_size(350, 360) addimage(21,7,"nost.tga") setcolor(0,0,0) say_black("") say_black("") say_title ( "Warp Ring" ) say ( "" ) say ( "azddxvcxvxcv." ) local opzioni =select ("things","lel") if opzioni == 1 then local opzioni2 =select ("Map 1 Jinno","Map 2 Jinno","Map 1 Chunjo","Map 2 Chunjo","Map 1 Shinsoo","Map 2 Shinsoo","Cancel") if opzioni2 == 1 then pc . warp ( 969600 , 278400 ) elseif opzioni2 == 2 then pc . warp ( 873100 , 242600 ) elseif opzioni2 == 3 then pc . warp ( 55700 , 157900 ) elseif opzioni2 == 4 then pc . warp ( 138500 , 234900 ) elseif opzioni2 == 5 then pc . warp ( 469300 , 964200 ) elseif opzioni2 == 6 then pc . warp ( 360800 , 877600 ) elseif opzioni2 == 7 then return elseif opzioni == 2 then say_title ( "Warp Ring" ) say ( "" ) say ( "azddxvcxvxcv." ) end end end end end end There was a missing 'end'. Next time take care of the tabulators. Link to comment Share on other sites More sharing options...
Former Staff Shisui 490 Posted April 19, 2014 Author Former Staff Share Posted April 19, 2014 (edited) quest warpring begin state start begin when 70007.use begin say_size(350, 360) addimage(21,7,"nost.tga") setcolor(0,0,0) say_black("") say_black("") say_title ( "Warp Ring" ) say ( "" ) say ( "azddxvcxvxcv." ) local opzioni =select ("things","lel") if opzioni == 1 then local opzioni2 =select ("Map 1 Jinno","Map 2 Jinno","Map 1 Chunjo","Map 2 Chunjo","Map 1 Shinsoo","Map 2 Shinsoo","Cancel") if opzioni2 == 1 then pc . warp ( 969600 , 278400 ) elseif opzioni2 == 2 then pc . warp ( 873100 , 242600 ) elseif opzioni2 == 3 then pc . warp ( 55700 , 157900 ) elseif opzioni2 == 4 then pc . warp ( 138500 , 234900 ) elseif opzioni2 == 5 then pc . warp ( 469300 , 964200 ) elseif opzioni2 == 6 then pc . warp ( 360800 , 877600 ) elseif opzioni2 == 7 then return elseif opzioni == 2 then say_title ( "Warp Ring" ) say ( "" ) say ( "azddxvcxvxcv." ) end end end end end end There was a missing 'end'. Next time take care of the tabulators. Edited August 15, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
RoxaLyssa 310 Posted April 19, 2014 Share Posted April 19, 2014 Oh sh*t, I made a mistake with the tabulators Sorry. I look at it again. Try this: quest warpring begin state start begin when 70007.use begin say_size(350, 360) addimage(21,7,"nost.tga") setcolor(0,0,0) say_black("") say_black("") say_title ( "Warp Ring" ) say ( "" ) say ( "azddxvcxvxcv." ) local opzioni =select ("things","lel") if opzioni == 1 then local opzioni2 =select ("Map 1 Jinno","Map 2 Jinno","Map 1 Chunjo","Map 2 Chunjo","Map 1 Shinsoo","Map 2 Shinsoo","Cancel") if opzioni2 == 1 then pc . warp ( 969600 , 278400 ) elseif opzioni2 == 2 then pc . warp ( 873100 , 242600 ) elseif opzioni2 == 3 then pc . warp ( 55700 , 157900 ) elseif opzioni2 == 4 then pc . warp ( 138500 , 234900 ) elseif opzioni2 == 5 then pc . warp ( 469300 , 964200 ) elseif opzioni2 == 6 then pc . warp ( 360800 , 877600 ) elseif opzioni2 == 7 then return end elseif opzioni == 2 then say_title ( "Warp Ring" ) say ( "" ) say ( "azddxvcxvxcv." ) end end end end 1 Link to comment Share on other sites More sharing options...
Former Staff Shisui 490 Posted April 19, 2014 Author Former Staff Share Posted April 19, 2014 Thank you. Solved. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now