verus04,81,113,0 script Machine#machine 10007,{if((checkquest(13184)==1)||(checkquest(13184)==0)){set.@charleston_time,checkquest(13185,PLAYTIME);//20 Hoursif(.@charleston_time==2){
erasequest 13185;
end;}elseif((.@charleston_time==1)||(.@charleston_time==0)){
mes "^ff0000This dimensional portal cannot be accessed for 20 hours after your last access.^000000"";
close;<-------LineErrorShowsHere}elseif(.@charleston_time==-1){set.@party_id,getcharid(1);set.@p_name$,getpartyname(.@party_id);set.@md_name$,"Charleston Crisis";if(!instance_check_party(.@party_id,1)){
mes "^ff0000You first must form/join a party of at least 1 person to enter this dungeon.^000000";
close;}if(getcharid(0)== getpartyleader(.@party_id,2))set.@menu$,"Prepare a dimensional portal.:Charleson Factory Entry.:Cancel";elseset.@menu$,":Charleston Factory Entry.:Cancel.";switch(select(.@menu$)){case1:if(instance_create(.@md_name$)<0){
mes "Party Name: "+.@p_name$;
mes "Party Leader: "+strcharinfo(0);
mes "^0000ff"+.@md_name$+" ^000000- Reservation Failed!";
close;}
mes "^ff0000The Dimensional portal is ready to go!^000000";
mes "^ff0000Please Wait!^000000";
close;case2:switch(instance_enter(.@md_name$)){case0:if(getcharid(0)== getpartyleader(.@party_id,2)){if(charlestonins ==0){
mapannounce "verus04",strcharinfo(0)+", member of the party "+.@p_name$+" entered the instance "+.@md_name$+".",bc_map,"0x00ff99";
setquest 13185;
specialeffect2 EF_WARP;//warp "1@mcd",127,282;
end;}else{
mapannounce "verus04",strcharinfo(0)+", member of the party "+.@p_name$+" entered the instance "+.@md_name$+".",bc_map,"0x00ff99";
setquest 13185;set charlestonins,0;
specialeffect2 EF_WARP;//warp "1@mcd",127,282;
end;}}else{if(charlestonins ==0){
mes "[Machine]";
mes "Dimensional Portal is Ready!";
next;
mes "^ff0000This dimensional portal cannot be accessed for 20 hours after your last access..^000000";
next;
mes "^ff0000The Party Leader did not prepare a dimensional portal.^ff0000";
mapannounce "verus04",strcharinfo(0)+", member of the party "+.@p_name$+" entered the instance "+.@md_name$+".",bc_map,"0x00ff99";
setquest 13185;
specialeffect2 EF_WARP;
sleep2 1000;//warp "1@mcd",127,282;
close;}else{
mes "[Machine]";
mes "Dimensional Portal is Ready!";set charlestonins,0;
next;
mes "^ff0000This dimensional portal cannot be accessed for 20 hours after your last access..^000000";
next;
mes "^ff0000The Party Leader did not prepare a dimensional portal.^ff0000";
mapannounce "verus04",strcharinfo(0)+", member of the party "+.@p_name$+" entered the instance "+.@md_name$+".",bc_map,"0x00ff99";
setquest 13185;
specialeffect2 EF_WARP;
sleep2 1000;//warp "1@mcd",127,282;
close;}}//custom @ official server kRO simple when click nothing happens.case1:
mes "Only the registered members can enter the instance "+.@md_name$+".";
close;case2:
mes "The memorial dungeon "+.@md_name$+" does not exist.";
mes "The party leader did not generate the dungeon yet.";
close;case3:
mes "Unknown error";
close;}case3:
close;}}else{
mes "^ff0000Dimensional Portal needs to be open from Charleston.^000000";
close;}}
Hi Good Day Rathena this is the first time i've encountered this but when I take a look at it there doesn't seem to be a mistake (Correct me if im wrong)
it shows Unexpected new line at string i've highlighted the string where the error shows up
Question
crazyarashi
Hi Good Day Rathena this is the first time i've encountered this but when I take a look at it there doesn't seem to be a mistake (Correct me if im wrong)
it shows Unexpected new line at string i've highlighted the string where the error shows up
Link to comment
Share on other sites
2 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.