maynard Posted March 17, 2012 Group: Members Topic Count: 44 Topics Per Day: 0.01 Content Count: 159 Reputation: 1 Joined: 12/21/11 Last Seen: April 20, 2014 Share 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 Link to comment Share on other sites More sharing options...
Brian Posted March 17, 2012 Group: Members Topic Count: 75 Topics Per Day: 0.02 Content Count: 2223 Reputation: 594 Joined: 10/26/11 Last Seen: June 2, 2018 Share 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 Link to comment Share on other sites More sharing options...
maynard Posted March 17, 2012 Group: Members Topic Count: 44 Topics Per Day: 0.01 Content Count: 159 Reputation: 1 Joined: 12/21/11 Last Seen: April 20, 2014 Author Share 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 Link to comment Share on other sites More sharing options...
Emistry Posted March 17, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2371 Joined: 10/28/11 Last Seen: Saturday at 07:13 PM Share Posted March 17, 2012 getgmlevel() > 0 && getgmlevel() <= 50 && ( agitcheck() || agitcheck2() ) Quote Link to comment Share on other sites More sharing options...
maynard Posted March 19, 2012 Group: Members Topic Count: 44 Topics Per Day: 0.01 Content Count: 159 Reputation: 1 Joined: 12/21/11 Last Seen: April 20, 2014 Author Share 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 Link to comment Share on other sites More sharing options...
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
Link to comment
Share on other sites
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.