Jump to content

Question

Posted

 

-    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'

8 answers to this question

Recommended Posts

Posted (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 by Emistry
changed "next" to "close2"
  • Upvote 1
Posted

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

Posted
-	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 : }

Posted

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;
}
}
Posted

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@!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...