Jump to content
  • 0
Sign in to follow this  
violy

areawarp + partywarp?

Question

1 answer to this question

Recommended Posts

  • 0

Well, i'm assuming you meant, how to make it so only party leader can run the warp. Since there was a line of code having to deal with @leader and such.

prontera,192,176,5	script	Çöó½Ã¾ÆÀÇ Àü·É	4_M_SAKRAYROYAL,{	if (getareausers("prontera",197,178,207,167) < 2) {//	if (getareausers("prontera",197,178,207,167) < 2) {		mes "[ºí·¹µå]";		mes "Àü Çöó½Ã¾ÆÀÇ Àü·ÉÀ¸·Î";		mes "¿ëÀÇ ´øÀü Åä¹ú´ë¸¦ ¸ðÁý ÇÏ°í ÀÖ½À´Ï´Ù.";		mes "Çöó½Ã¾ÆÀÇ ±àÁö·Î";		mes "4´ë ¿ëµéÀ» ¹°¸®ÃÄ ÁֽʽÿÀ.";		next;		menu "Åä¹ú´ë ±¸¼º ¹× Ãâ¹ß",D_go,"Ãë¼Ò",Cancel;Cancel:		mes "[ºí·¹µå]";		mes "¾î¿¼ö ¾ø±º¿ä.";		close;	D_go:		mes "[ºí·¹µå]";		mes "µå·¡°ï µÕÁö·Î °¡±âÀ§Çؼ­´Â 20¸í ÀÌ»óÀÇ Åä¹ú´ë°¡ ÀÖ¾î¾ß ÇÕ´Ï´Ù.";		mes "ÇöÀç ½ÅÀü¿¡ "+getareausers("prontera",197,178,207,167)+ " ¸íÀÌ ´ë±âÁßÀ̱º¿ä..";		next;		mes "[ºí·¹µå]";		mes "ÀοøÀ» ´õ ¸ðÁý ÇϽðųª";		mes "½ÅÀüÀ¸·Î ÀοøÀ» ¸ð¾Æ ÁֽʽÿÀ.";		close;	}	mes "[ºí·¹µå]";	mes "Ãâ¹ß ÇϽðڽÀ´Ï±î?";	next;	switch(select("Ãâ¹ß ÇÏ°Ú½À´Ï´Ù.:Ãë¼Ò")) {		case 1:			mes "[ºí·¹µå]";			mes "¹«¿îÀ» º÷´Ï´Ù.";			close2;			if( getpartyleader(getcharid(3),1) == -1){ mes "Only party leader can use this."; close; }			areawarp "prontera",197,178,207,167,"1@eom",95,123,101,117;			warp "1@eom",93,120;		case 2:			close;		}	}}

Share this post


Link to post
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.   Restore formatting

  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.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.