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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

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