VladimirCastro Posted June 8, 2013 Posted June 8, 2013 - script Welcome#newbie -1,{ OnPCLoginEvent: if ( #newaccount==0 ){ mes " welcome to "Onslaught Ragnarok Online""; set #newaccount,1; next; announce "Server :Hello "+ strcharinfo(0) +"..."! Welcome to ( OnsRO )"",0; end; } [Error]: Missing 1 right curlys at file 'npc/maureen/welcome.txt', line '9' Quote
Euphy Posted June 8, 2013 Posted June 8, 2013 That means you're missing 1 right curly at line 9. /sigh Quote
Capuche Posted June 8, 2013 Posted June 8, 2013 Comment : you need a \ before " in a text mes " welcome to "Onslaught Ragnarok Online""; => mes " welcome to \"Onslaught Ragnarok Online\""; Quote
VladimirCastro Posted June 8, 2013 Author Posted June 8, 2013 That means you're missing 1 right curly at line 9. /sigh i dont get it please show it to me. im noob. with scripting Comment : you need a \ before " in a text mes " welcome to "Onslaught Ragnarok Online""; => mes " welcome to \"Onslaught Ragnarok Online\""; it didnt work. still say the error Quote
Euphy Posted June 8, 2013 Posted June 8, 2013 This is a right curly: } This is line 9: }Your error:Missing 1 right curlys at file 'npc/maureen/welcome.txt', line '9'Solution: Add a right curly to line 9. I'd highly suggest reading the Basic_Scripting article. Quote
VladimirCastro Posted June 8, 2013 Author Posted June 8, 2013 - script Welcome#newbie -1,{ OnPCLoginEvent: if ( #newaccount==0 ){ mes " welcome to "Onslaught Ragnarok Online""; set #newaccount,1; next; announce "Server :Hello "+ strcharinfo(0) +"..."! Welcome to ( OnsRO )"",0; end; } } new error [Error]: script error on npc/maureen/welcome.txt line 4 parse_line: need ';' 1 : { 2 : OnPCLoginEvent: 3 : if ( #newaccount==0 ){ * 4 : mes " welcome to "'O'nslaught Ragnarok Online""; 5 : set #newaccount,1; 6 : next; 7 : announce "Server :Hello "+ strcharinfo(0) +"..."! Welcome to ( OnsRO )" ",0; 8 : end; 9 : } Quote
Akbare Posted June 8, 2013 Posted June 8, 2013 try it : - script Welcome#newbie -1,{ OnPCLoginEvent: if ( #newaccount==0 ){ mes " welcome to "Onslaught Ragnarok Online""; set #newaccount,1; next; announce "Server :Hello "+ strcharinfo ( 0 ) +". Welcome to ( OnsRO )"; end; } } Quote
Emistry Posted June 8, 2013 Posted June 8, 2013 (edited) Both Capuche and Euphy has give you the solution to your error.. - script Welcome#newbie -1,{ OnPCLoginEvent: if( #newaccount==0 ){ mes " welcome to \"Onslaught Ragnarok Online\"."; set #newaccount,1; close2; announce "Server :Hello "+ strcharinfo(0) +"...! Welcome to ( OnsRO )",0; } end; } Edited June 9, 2013 by Emistry changed "next" to "close2" 1 Quote
VladimirCastro Posted June 8, 2013 Author Posted June 8, 2013 thanks Both Capuche and Euphy has give you the solution to your error.. - script Welcome#newbie -1,{ OnPCLoginEvent: if( #newaccount==0 ){ mes " welcome to \"Onslaught Ragnarok Online\"."; set #newaccount,1; next; announce "Server :Hello "+ strcharinfo(0) +"...! Welcome to ( OnsRO )",0; } end; } thnx worked@! Quote
Question
VladimirCastro
[Error]: Missing 1 right curlys at file 'npc/maureen/welcome.txt', line '9'
8 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.