Jump to content
  • 0

how can ban 1 character


Phantom Of Rogue-Gon

Question


  • Group:  Members
  • Topic Count:  65
  • Topics Per Day:  0.02
  • Content Count:  181
  • Reputation:   0
  • Joined:  08/07/13
  • Last Seen:  

hello guys can i request somethine and how can add the script


 


Example


 


who have script never enter the high wizard to goldroom for easy farm?.



prontera,165,149,4 script Gold Room 896,{


set .@name$, "[^0000FFGold Room^000000]";

mes .@name$;
mes "Hello, do you want to join here? there are " +getmapusers("1@nyd") +" users inside.";
mes "Entrance Fee ^362ED65 TCG^000000";
next;
menu "Yes",-,"Cancel",L_Cancel;

mes "[" + strcharinfo(0) + "]";
mes "Good good, let me just check";
next;
if(countitem(7227)<5) goto L_NoMake;
delitem 7227,5;
next;
if (select("Yes I want.:Not now.") == 2) close;
mes .@name$;
mes "Okay let's go.";
close2;
warp "1@nyd",301,249;
close;
OnInit:
waitingroom "Gold Arena",0;
end;
end;



L_NoMake:
mes "[" + strcharinfo(0) + "]";
mes "You don't have the requirements.";
mes "Please come back another time...";
close;

L_Bl:
mes "[" + strcharinfo(0) + "]";
mes "i need this ";
mes "^362ED61st Quiz Entry^000000";
mes "Please Talk " + strcharinfo(0) + " at Prontera";
mes "Please Bring me this items";
mes "^362ED6Fragment of Rossata Stone 3pcs^000000";
mes "^362ED6Tiger's Footskin 5pcs^000000";
next;
menu "Accept",-, "Leave",L_Leave;

mes "[" + strcharinfo(0) + "]";
mes "When you are done, bring the items to me. Ok good luck finding those items.";
close;

L_Leave:
mes "[" + strcharinfo(0) + "]";
mes "Maybe another time?";
close;

L_Cancel:
mes "[" + strcharinfo(0) + "]";
mes "Aw, what a shame";
mes "Giving up already?";
close;

Edited by Phantom Of Rogue-Gon
Link to comment
Share on other sites

5 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  185
  • Reputation:   53
  • Joined:  01/04/12
  • Last Seen:  

before warp in npc

if(Class == 4010 || Class == 9)
{
    mes "you cant warp";
    close;
}
 

 

Edited by Sanasol
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  185
  • Reputation:   53
  • Joined:  01/04/12
  • Last Seen:  

put my code after 

if (select("Yes I want.:Not now.") == 2) close;

 

or in the beginning of the file

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  65
  • Topics Per Day:  0.02
  • Content Count:  181
  • Reputation:   0
  • Joined:  08/07/13
  • Last Seen:  

if (select("Yes I want.:Not now.") == 2) close;

change to

if (select("Yes I want.:Not now.") == 2) close;
if(Class == 4010 || Class == 9)
{
    mes "you cant warp";
    close;
}
 
Edited by Phantom Of Rogue-Gon
Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  2407
  • Reputation:   613
  • Joined:  07/05/12
  • Last Seen:  

or you can use eaclass

if (select("Yes I want.:Not now.") == 2) close;
if ( eaclass()&EAJ_UPPERMASK == EAJ_WIZARD ) {
    mes "you cant warp";
    close;
}
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...