Jump to content

Question

Posted (edited)

Hi All,

i would like to request a script that will give a guild package item when he click the npc and warp it into prontera after receiving the item.
here is the g.package item

+4immune muffler
+4green shoes
+AOA
4g.suit
n.glove 2pcs.

please advise,

thanks,

Edited by nesotomayor

2 answers to this question

Recommended Posts

Posted

First of all - checkings

if(getgdskilllv(.@GID,10000) < 1) goto L_GSTL;
if(strcharinfo(0)!=getguildmaster(.@GID)) goto L_NGM;
query_sql "SELECT `guild_lv`,`max_member` FROM `guild` WHERE `guild_id`="+getcharid(2)+"",@glvl,@max_member;
if(@glvl < 10 || @max_member < 5) goto L_GLTL;


L_GSTL:
mes "Sorry, but without the Guildskill 'Guild Approval' you can't receive a GP!";
close;
L_NGM:
mes .@n$;
mes "Sorry, only the Guildleader can receive GP from me!";
close;
  • Upvote 1

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...