HisokaMachi 0 Posted January 29, 2014 can someone post a working LMS script? haha thanks Quote Share this post Link to post Share on other sites
0 Jaburak 48 Posted January 29, 2014 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;} Quote Share this post Link to post Share on other sites
can someone post a working LMS script? haha thanks
Share this post
Link to post
Share on other sites