Jump to content
  • 0
HisokaMachi

R> LMS working script

Question

1 answer to this question

Recommended Posts

  • 0

I'm new to hercules but try this one.

prontera,150,180,4	script	LMS Event	100,{	warp "guild_vs3",0,0;	end;OnInit:	hideonnpc ""+strnpcinfo(0);	hideonnpc "Reward#LMS";	getmapxy(.m$,.x,.y,1,strnpcinfo(0));	mapwarp "guild_vs3",""+.m$,.x,.y;	end;OnClock0100:	mapwarp "guild_vs3",""+.m$,.x,.y;	announce "[Announce] : LMS Event is active. Warp Prontera 150 180!" ,bc_all;	hideoffnpc ""+strnpcinfo(0);	initnpctimer;	end;OnTimer10000:	hideonnpc ""+strnpcinfo(0);	mapannounce "guild_vs3","[Announce] : Event Start!!!",0;	pvpon "guild_vs3";	if(!getmapflag("guild_vs3",mf_pvp_noparty))	{		set .mf_pvp_noparty,1;		setmapflag "guild_vs3",mf_pvp_noparty;	}	if(!getmapflag("guild_vs3",mf_pvp_noguild))	{		set .mf_pvp_noguild,1;		setmapflag "guild_vs3",mf_pvp_noguild;	}	if(!getmapflag("guild_vs3",mf_gvg))	{		set .mf_pvp_noguild,1;		setmapflag "guild_vs3",mf_gvg;	}	end;OnTimer30000://Clean all player.	if(getmapusers("guild_vs3")==1)	{		hideoffnpc "Reward#LMSE";		mapwarp "guild_vs3","guild_vs3",50,50;	}else		mapwarp "guild_vs3",""+.m$,.x,.y;	pvpoff "guild_vs3";	if(.mf_pvp_noparty)	{		set .mf_pvp_noparty,0;		removemapflag "guild_vs3",mf_pvp_noparty;	}	if(.mf_pvp_noguild)	{		set .mf_pvp_noguild,0;		removemapflag "guild_vs3",mf_pvp_noguild;	}	if(.mf_gvg)	{		set .mf_gvg,0;		removemapflag "guild_vs3",mf_gvg;	}	stopnpctimer;	end;}guild_vs3,50,50,4	script	Reward#LMS	100,{	announce "[Announce] : LMS Event winner is "+strcharinfo(0)+" !!!", bc_all;	getitem 675,1;	hideonnpc ""+strnpcinfo(0);	warp "save",0,0;	end;}

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

×
×
  • Create New...

Important Information

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