Jump to content
  • 0

Guild check


Rayhan

Question


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  102
  • Reputation:   1
  • Joined:  11/06/12
  • Last Seen:  

For my life i can not think how its done, any help?

I want to add a check to an NPC that checks if your in a guild before warping you.

I want to add checks to 12 maps, that when you kill a monster on the map its checks if your in a guild, if your not, its warp you back to prontera.

This is due to players being in a guild, going to the maps, leaving the guild then staying there.

This is for a GvG Event.

Link to comment
Share on other sites

3 answers to this question

Recommended Posts


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

if( !getcharid(2) ){
   dispbottom "You dont have a guild";
}
end;

refer getcharid

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  102
  • Reputation:   1
  • Joined:  11/06/12
  • Last Seen:  

Thank you, how about this?

I want to add checks to 12 maps, that when you kill a monster on the map its checks if your in a guild, if your not, its warp you back to prontera.
Link to comment
Share on other sites


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

This is due to players being in a guild, going to the maps, leaving the guild then staying there.

mf_guildlock 45
use guildlock mapflag to prevent them from leaving the guild in that map
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...