Jump to content
  • 0

H>on this pvp


CursorX

Question


  • Group:  Members
  • Topic Count:  66
  • Topics Per Day:  0.02
  • Content Count:  168
  • Reputation:   0
  • Joined:  11/20/13
  • Last Seen:  

prontera,163,194,4	script	PvP Warper	1198,{

if (getmapusers("pvp_y_1-2") > 30) goto Lsorry;
if ((class==Job_Novice_High)&&(class==Super_Novice)) goto Lnoob;
warp "pvp_y_1-2",0,0;
close;

Lsorry:
mes "[PvP Warper]";
mes "Sorry, The PvP Arena is Full.";
close;

Lnoob:
mes "[PvP Warper]";
mes "This place is ^FF0000RESTRICTED^000000 for your class.";
close;

OnInit:
do {
delwaitingroom;
waitingroom "PvP Warper [" + getmapusers("pvp_y_1-2") + " / 30]",0;
sleep 3000; // Evites super infinity loop
} while(1); // End Loop
end;
 
}

hello... i want to ask on this

 

if ((class==Job_Novice_High)&&(class==Super_Novice)) goto Lnoob;

 

i want to add restricted GM too.. is this correct? gmlvl 80 and above..

 

if ((class==Job_Novice_High)&&(class==Super_Novice)&&(getgmlevel()<80)) goto Lnoob;

is this right?

 

 

and how about getting rid all the soul link buff before entering on this pvp..

 

thank you...

Link to comment
Share on other sites

4 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  1702
  • Reputation:   238
  • Joined:  09/05/12
  • Last Seen:  

Should be : 

( getgmlevel() > 80 )

otherwise even normal players will be restricted also.

 

and how about getting rid all the soul link buff before entering on this pvp..

+ sc_end SC_SPIRIT;
warp "pvp_y_1-2",0,0;
  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  66
  • Topics Per Day:  0.02
  • Content Count:  168
  • Reputation:   0
  • Joined:  11/20/13
  • Last Seen:  

hey patz... what if i want only gm lvl 80 and above can access gm menu?

coukd explaib me this?

getgmlevel()>80

getgmlevel()<80

i see somrthing like this too i think getgmlevel() >=

Edited by DwGen
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  1702
  • Reputation:   238
  • Joined:  09/05/12
  • Last Seen:  


getgmlevel() > 80 // 81 82 83 84......

getgmlevel() >= 80 // 80 81 82 83 84.....

getgmlevel() < 80 // 79 78 77 76 75.....

getgmlevel() <= 80 // 80 79 78 77 76....

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  66
  • Topics Per Day:  0.02
  • Content Count:  168
  • Reputation:   0
  • Joined:  11/20/13
  • Last Seen:  

thank you patz

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