Jump to content
  • 0

Simple HELP


Drakkus

Question


  • Group:  Members
  • Topic Count:  39
  • Topics Per Day:  0.01
  • Content Count:  386
  • Reputation:   15
  • Joined:  11/17/11
  • Last Seen:  

Hi, just wanna ask, why is it doesn't work out, did i missed something Ughh...?! :unsure:
 

 

frontier.gat,139,219,0    script    Portal    45,{
if (class < 4008 || class > 4022 || BaseLevel < 254 || JobLevel < 98) goto L_Accept;
    mes "[ ^0000FF"+strcharinfo(0)+"^000000 ]";
    mes "It seems that, i can't enter?";
    emotion e_hmm;
    close2;
    warp "SavePoint",0,0;
    end;
L_Accept:
    warp "ars_dun04",51,17;
    end;
}
Edited by Vlync
Link to comment
Share on other sites

3 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  318
  • Reputation:   54
  • Joined:  12/23/12
  • Last Seen:  

frontier.gat,139,219,0    script    Portal    45,{
if ((class <= 4008 && class >= 4022) && (BaseLevel <= 254 || JobLevel <= 98))
    {
		warp "ars_dun04",51,17; 
		end;
	}
	mes "[^0000FF"+strcharinfo(0)+"^000000]";
	mes "It seems that, I can't enter?";
	emotion e_hmm;
	close2;
	warp "SavePoint",0,0;
	end;
}

The format messed up here.

Is this how you wanted it ?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  39
  • Topics Per Day:  0.01
  • Content Count:  386
  • Reputation:   15
  • Joined:  11/17/11
  • Last Seen:  

frontier.gat,139,219,0    script    Portal    45,{
if ((class <= 4008 && class >= 4022) && (BaseLevel <= 254 || JobLevel <= 98))
    {
		warp "ars_dun04",51,17; 
		end;
	}
	mes "[^0000FF"+strcharinfo(0)+"^000000]";
	mes "It seems that, I can't enter?";
	emotion e_hmm;
	close2;
	warp "SavePoint",0,0;
	end;
}

The format messed up here.

Is this how you wanted it ?

 

 

As long as the script works =D Thank YOU!

Edited by Vlync
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  318
  • Reputation:   54
  • Joined:  12/23/12
  • Last Seen:  

What is the error. There is no errors just checked.

 

 

Change:

BaseLevel <= 254 || JobLevel <= 98

 

Set to :

BaseLevel <= 254 && JobLevel <= 98

Link to comment
Share on other sites

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.

×
×
  • Create New...