Jump to content
  • 0

Restrict GM lvl 40 request


Dvrstle

Question


  • Group:  Members
  • Topic Count:  125
  • Topics Per Day:  0.03
  • Content Count:  361
  • Reputation:   10
  • Joined:  12/30/11
  • Last Seen:  

i want to request a script for a npc which will restrict all GMs except the administrator on entering woe castles during woe time(8:00pm = 9:00pm)

Thanks!

Link to comment
Share on other sites

1 answer to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  2044
  • Reputation:   682
  • Joined:  10/09/12
  • Last Seen:  

-    script    aaa    -1,{
OnPCLoadMapEvent:
   if ( getgmlevel() < 20 || getgmlevel() == 99 || !agitcheck() ) end;
   if ( compare( strcharinfo(3), "_cas0" ) && !compare( strcharinfo(3), "gl_cas0" ) )
       warp "Save", 0,0;
}
prtg_cas01   mapflag   loadevent
prtg_cas02   mapflag   loadevent
prtg_cas03   mapflag   loadevent
....

put loadevent mapflag on all those castle maps that you can find

  • Upvote 1
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...