Jump to content
  • 0

Donation NPC Request


Lordamax

Question


  • Group:  Members
  • Topic Count:  71
  • Topics Per Day:  0.02
  • Content Count:  328
  • Reputation:   13
  • Joined:  11/27/11
  • Last Seen:  

Sorry for my poor english, Donation npc will ask ask the gm if how many items will be given to the donator (ex.lord kaho's horn and brissingamen are the items that will be given), and it will ask how many pieces lordkahos and brissingamens will be given. And it will also ask the gm if it should be refined to +10 or not.. tnx for the help! God bless and merry christmas!

Edited by grabs123
Link to comment
Share on other sites

5 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:  

try this

prontera,155,181,5 script Sample 757,{
if( getgmlevel() < 80 ){
mes "I only serve GM Staffs";
}else{
mes "Input the Player Name ";
mes "Player must ^FF0000ONLINE^000000";
mes "Type ^FF0000CANCEL^000000 to cancel.";
input .@Name$;
if( compare( .@Name$,"cancel" ) || !isloggedin( getcharid( 3,.@Name$ ) ) ) close;
next;
mes "What item to be Given ?";
do{
 input .@ItemID,501,32767;
 if( getitemname( .@ItemID ) == "" ) mes "Invalid Item ID";
}while( getitemname( .@ItemID ) == "" );
mes "Input the Amount of "+getitemname( .@ItemID )+" to be given.";
mes "Min. 1 ~ Max. 10";
input .@Amount,1,10;
mes "If it is Equip...how much it should be Refined ?";
input .@Refine,0,10;
next;
mes "Receiver : ^0000FF"+.@Name$+"^000000";
mes "Item : ^FF0000"+getitemname( .@ItemID )+"^000000";
mes "Amount : ^FF0000"+.@Amount+"^000000";
mes "Refine : ^FF0000"+.@Refine+"^000000";
if( select("Confirm:Cancel") == 1 ){
 announce "[ "+.@Name$+" ] gained "+.@Amount+" x "+getitemname( .@ItemID )+" from GM.",0;
 message .@Name$,"You have gained "+.@Amount+" x "+getitemname( .@ItemID )+" from GM.";
 getitem2 .@ItemID,.@Amount,1,.@Refine,0,0,0,0,0,getcharid( 3,.@Name$ );
}
}
close;
}

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  974
  • Reputation:   41
  • Joined:  11/13/11
  • Last Seen:  

so meaning the npc have the list of the donate items and you will just input the quantity, refine and the reciever of the item and after that it will send it to the player?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  318
  • Topics Per Day:  0.07
  • Content Count:  925
  • Reputation:   32
  • Joined:  12/05/11
  • Last Seen:  

yeah me also find this one npc

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  71
  • Topics Per Day:  0.02
  • Content Count:  328
  • Reputation:   13
  • Joined:  11/27/11
  • Last Seen:  

Thanks sir! THANK YOU VERY MUCH! xD

Edited by Fibonacci
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  71
  • Topics Per Day:  0.02
  • Content Count:  328
  • Reputation:   13
  • Joined:  11/27/11
  • Last Seen:  

sir may i request this..even the user is offline..the gm is still able to give item..he is still able to get it when he log in...tnx /ok God bless!

Edited by Fibonacci
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...