- script Sample -1,{
OnPCLoadMapEvent:
.@map$ = strcharinfo(3);
.@guild_id = getcharid(2);
if( getmapflag( .@map$,mf_gvg_castle ) && .@guild_id )
if( getmapguildusers( .@map$,.@guild_id ) > 25 ){
mes "Max Guild Member can stay on this map exceed.";
close2;
warp "prontera",155,181;
}
end;
}
aldeg_cas01 mapflag loadevent
aldeg_cas02 mapflag loadevent
aldeg_cas03 mapflag loadevent
aldeg_cas04 mapflag loadevent
aldeg_cas05 mapflag loadevent
gefg_cas01 mapflag loadevent
gefg_cas02 mapflag loadevent
gefg_cas03 mapflag loadevent
gefg_cas04 mapflag loadevent
gefg_cas05 mapflag loadevent
payg_cas01 mapflag loadevent
payg_cas02 mapflag loadevent
payg_cas03 mapflag loadevent
payg_cas04 mapflag loadevent
payg_cas05 mapflag loadevent
prtg_cas01 mapflag loadevent
prtg_cas02 mapflag loadevent
prtg_cas03 mapflag loadevent
prtg_cas04 mapflag loadevent
prtg_cas05 mapflag loadevent