Jump to content
  • 0

how to make this via Script help


Question

Posted (edited)

I want to make a map for Guild of the month only 

example

the guild of the month wast

 

ABCDEF Guild 

 

The map is prontera Only Member of ABCDEF Guild can Warp to Prontera and Other Guild will go to Izlude

 

Thankyou very much!

Edited by Kariton Revolution

4 answers to this question

Recommended Posts

Posted


- script Sample -1,{

OnPCLoadMapEvent:

getmapxy(.@map$,.@x,.@y,0);

if ( .@map$ == .map$ && getcastledata( .castle$, 1 ) == getcharid( 2 ) ) end;

warp "SavePoint",0,0;

end;

OnInit:

.map$ = "prontera";

.castle$ = "prtg_cas01";

setmapflag .map$, mf_loadevent;

end;

}

Posted
-	script	Sample	-1,{
	OnPCLoadMapEvent:
		getmapxy(.@map$,.@x,.@y,0);
		if ( .@map$ == .map$ && getcastledata( .castle$, 1 ) == getcharid( 2 ) ) end;
		warp "SavePoint",0,0;
		end;
	
	OnInit:
		.map$ = "prontera";
		.castle$ = "prtg_cas01";
		setmapflag .map$, mf_loadevent;
		end;
}

 

Thankyou So much it works ! :)

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