Jump to content
  • 0

Guild leveler NPC


kemids18

Question


  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  18
  • Reputation:   0
  • Joined:  01/20/12
  • Last Seen:  

hi i would like to request a Guild leveler Npc Via Quest item Exp. TCG

Link to comment
Share on other sites

4 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1130
  • Joined:  05/27/12
  • Last Seen:  

atcommand "@glevel "+countitem(7227);
delitem 7227, countitem(7227);

You'll probably need an SQL query to check guild level, in case it ever hits the max.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  18
  • Reputation:   0
  • Joined:  01/20/12
  • Last Seen:  

thank you master Euphy..how can i make the SQL query to whether the guild Level hits Max?

What happen if there is no SQL query to check max guild level?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1130
  • Joined:  05/27/12
  • Last Seen:  

query_sql("SELECT `guild_lv` FROM `guild` WHERE `guild_id` = "+getcharid(2)+";", .@guildlevel);
if (.@guildlevel > 49) {
   dispbottom "This guild has already reached the maximum level.";
   end; }

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  18
  • Reputation:   0
  • Joined:  01/20/12
  • Last Seen:  

Thank You So much!!

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...