Jump to content
  • 0

Requesting PVP room But only level 99/70 can access


Question

5 answers to this question

Recommended Posts

Posted

This is Support, not Request. And the thing you might want to know is how to check after the Level:

if (BaseLevel == 99 && JobLevel == 70) {
// warp
} else {
// don't
}

Posted · Hidden by Gennosuke Kouga, February 19, 2012 - >o<
Hidden by Gennosuke Kouga, February 19, 2012 - >o<

Possible, only need to add:

if( BaseLevel >= 99 && JobLevel >= 70 ) warp "pvproom",0,0;

else

mes "You must be within Base/Job Level 99/70 to go to the pvp-room.";

Posted (edited)

Would it be something like this?



Location,x,y,direction script name sprite,{
if (BaseLevel == 99 && Joblevel == 70} {
warp “location”,0,0;
} else {
mes “[PvP Warper]”;
mes “This pvp room is for level 99/70 only”;
next;
mes “[PvP Warper]”;
mes “Would you like to decrease your level to 99/70 for this?”;
mes “Note: You would have to level to 255/90 again.”;
menu “Yes”,L_Yes,”No”,L_No;
end;

L_Yes:
set Baselevel,99;
set JobLevel,70;
warp “location”,0,0;
close;

L_No:
mes “[PvP Warper]”;
mes “Very well then.”
close;
}
}
[/codeBOX]

Edited by nelsontyh

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