maynard Posted March 17, 2012 Posted March 17, 2012 Requesting a script that will check if there is a GM inside the castle of kriemhild and if there is he will be warp back to prontera. The script will only check on a specific time 19:00 -20:00 Quote
Brian Posted March 17, 2012 Posted March 17, 2012 - script no_gm_in_woe -1,{ OnPCLoadMapEvent: if (getmapflag(strcharinfo(3), mf_gvg_castle)) { if (getgmlevel()>0 && (agitcheck() || agitcheck2())) { announce "GMs are not allowed in the castles during WoE.", bc_self; warp "SavePoint",0,0; } } 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 schg_cas01 mapflag loadevent schg_cas02 mapflag loadevent schg_cas03 mapflag loadevent schg_cas04 mapflag loadevent schg_cas05 mapflag loadevent arug_cas01 mapflag loadevent arug_cas02 mapflag loadevent arug_cas03 mapflag loadevent arug_cas04 mapflag loadevent arug_cas05 mapflag loadevent Quote
maynard Posted March 17, 2012 Author Posted March 17, 2012 Its working perfectly. Thank you Brian, 1 more thing what if only GM lvl 50 and below only that can't enter? Quote
Emistry Posted March 17, 2012 Posted March 17, 2012 getgmlevel() > 0 && getgmlevel() <= 50 && ( agitcheck() || agitcheck2() ) Quote
maynard Posted March 19, 2012 Author Posted March 19, 2012 (edited) Done Thanks Guys. working great. Sir how to kick gm lvl 50 below during woe then they can login after woe. Edited March 27, 2012 by maynard Quote
Question
maynard
Requesting a script that will check if there is a GM inside the castle of kriemhild and if there is he will be warp back to prontera. The script will only check on a specific time 19:00 -20:00
4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.