Jump to content
  • 0

Question

Posted (edited)

why this script not working? i want disable all Job accept 3rd job only can Enter this map

//*********************************************************************************************************************************************************************************
//***--Topic Link :  ***\( ^ ~ ^ )/***
//***http://www.eathena.ws/board/index.php?showtopic=264445
//***
//*********************************************************************************************************************************************************************************
//***-- Script by :  ***\( ^ ~ ^ )/***
//***-- Emistry
//***
//*********************************************************************************************************************************************************************************
//***-- Contact Info : ***\( ^ ~ ^ )/***
//***-- My Email : [email protected]
//***
//*********************************************************************************************************************************************************************************
//***-- Messages :  ***\( ^ ~ ^ )/***
//***-- Drop me a private message or email if you are looking for my helps ^^.
//***-- Beside that, I am looking for a Server to work with ^^ .
//***-- I will do my best to help you ^^.
//***-- More Details ? PM Me ^^.
//***
//*********************************************************************************************************************************************************************************
//***Although these scripts might not suit or follow with what you have requested completely. But i still wish you can give it a try before reject the works.
//***
//*********************************************************************************************************************************************************************************


- script jobrestrict -1,{
OnPCLoadMapEvent:
if(strcharinfo(3)!="dicastes01" || strcharinfo(3)!="dicastes02" ) end;
if(Class>=0 && Class<=4021 ){
mes "[ ^0000FF Castle Guardian's^000000  ]";
mes "Hello "+strcharinfo(0)+", ";
mes "You are now allow to enter this Map.";
next;
mes "[ ^0000FF Castle Guardian's^000000  ]";
mes "-----^FF0000 Castle Guardian's^000000-----";
mes "Below 3rd Classes Are Not Allow To Enter This map";
next;
announce strcharinfo(0)+" , GET OUT !!! You cant enter this map because your Low  Class!!!",bc_self;
dispbottom "You cant enter this map because your Grade Low";
warp "prontera",155,155;
end;
}
dispbottom "Welcome to Dicastes01. ";
end;
}

dicastes01 mapflag loadevent
dicastes02 mapflag loadevent

Edited by manabeast

2 answers to this question

Recommended Posts

Posted

change

if(strcharinfo(3)!="dicastes01" || strcharinfo(3)!="dicastes02" ) end;

into this

if(strcharinfo(3)!="dicastes01" && strcharinfo(3)!="dicastes02" ) end;

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