Jump to content
  • 0

GM holding area


maynard

Question


  • Group:  Members
  • Topic Count:  44
  • Topics Per Day:  0.01
  • Content Count:  159
  • Reputation:   1
  • Joined:  12/21/11
  • Last Seen:  

Sir how to kick gm lvl 50 below during woe then after woe they can login.

please make a script that will warp all GM below 50 to a single room when the woe start. they can't leave until the woe finish.thank you.

Link to comment
Share on other sites

3 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  44
  • Topics Per Day:  0.01
  • Content Count:  159
  • Reputation:   1
  • Joined:  12/21/11
  • Last Seen:  

thank sir its working but the GM can still warp and I was looking for a script that will hold them or kick them out when woe start as in when agitstart automatic kick or warp to a room with no @commands. I have a script here that will kick them out but only if they login during woe.If they are online before woe they wont be kick unless they go to a place with mapflag.What I'm trying to achieve is when agitsart they will be automatically kick or they will be hold to a room and cant leave or use command. They will be kick wherever they are.I read that OnPCLoadMapEvent needs a map to initiate the kicker.The problem is I need to put many maps.Server has 3 guilds and all 3 have their own GM.They dont stop thinking how to take advantage of each other.PLayer thinks they are smart but for me YOU guys are the best, hahaha.

- script kick_gm_in_woe -1,{
OnPCLoginEvent:
 if (getgmlevel()>0 && getgmlevel() <= 50 && (agitcheck() || agitcheck2())) {
atcommand "@kick "+ strcharinfo(0);
}
end;
}
- script no_gm_in_woe -1,{
OnPCLoadMapEvent:
if (getmapflag(strcharinfo(3), mf_gvg_castle)) {
 if (getgmlevel()>0 && getgmlevel() <= 50 && (agitcheck() || agitcheck2())) {
  announce "GMs are not allowed in the castles during WoE.",bc_all,0xFFFF00;
  atcommand "@kick "+ strcharinfo(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

Please remove this if off topic or wrong section.This script is not mine and made by guys here in rathena.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  351
  • Reputation:   52
  • Joined:  11/15/11
  • Last Seen:  

you really have some problems with gm's and woe o_o

This might work..

[Removed Link]

I haven't tested it, nor do I find the map particularly good, but I have no other idea where they could be sent to.

Basically, on login they will be if WoE FE or WoE SE is on sent to sec_pri which is jail.

You'll still have to setup the coordinates, and I highly suggest changing the map..

Edited by Nameless2you
Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

Link to comment
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.   Paste as plain text instead

  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.

×
×
  • Create New...