- script test -1,{end;OnPCLoadMapEvent: if(getmapflag(strcharinfo(3),mf_gvg)){ attachnpctimer ""+strcharinfo(0); initnpctimer; } end;OnTimer181000: if(checkidle()>=180 && getmapflag(strcharinfo(3),mf_gvg)){ atcommand "@kick "+strcharinfo(0); end; } if(getmapflag(strcharinfo(3),mf_gvg)) initnpctimer; else detachnpctimer; end;}gvgmap mapflag loadevent
[cbox]- script noafk -1,{
OnPCLoadMapEvent:
if(getmapflag(strcharinfo(3),mf_gvg))initnpctimer;
end;
OnTimer181000:
if(checkidle()>180 && getmapflag(strcharinfo(3),mf_gvg))
atcommand "@kick "+strcharinfo(0);
if(getmapflag(strcharinfo(3),mf_gvg))initnpctimer;
end;
}
schg_cas06 mapflag loadevent[/cbox]
nothing happen! but thanks !
same nothing happen!- script test -1,{end;OnPCLoadMapEvent: if(getmapflag(strcharinfo(3),mf_gvg)){ attachnpctimer ""+strcharinfo(0); initnpctimer; } end;OnTimer181000: if(checkidle()>=180 && getmapflag(strcharinfo(3),mf_gvg)){ atcommand "@kick "+strcharinfo(0); end; } if(getmapflag(strcharinfo(3),mf_gvg)) initnpctimer; else detachnpctimer; end;}gvgmap mapflag loadevent
- script test -1,{end;OnPCLoadMapEvent: if(getmapflag(strcharinfo(3),mf_gvg_castle)){ attachnpctimer ""+strcharinfo(0); initnpctimer; } end;OnTimer181000: if(checkidle()>=180 && getmapflag(strcharinfo(3),mf_gvg_castle)){ atcommand "@kick "+strcharinfo(0); end; } if(getmapflag(strcharinfo(3),mf_gvg_castle)) initnpctimer; else detachnpctimer; end;}prtg_cas03 mapflag loadevent
nothing happen alsoFor BG maps, you should check for mf_battleground instead of mf_gvg_castle
Any erro msg on map console?nothing happen alsoFor BG maps, you should check for mf_battleground instead of mf_gvg_castle
no error in console!!Any erro msg on map console?nothing happen alsoFor BG maps, you should check for mf_battleground instead of mf_gvg_castle
i dont know why this script not working on me!1000=1sec
3mins =180000 ===>OnTimer180000:
I have no idea why the script doesn't work for you![]()
We use essential cookies to make this site work, and optional cookies to enhance your experience.