Jump to content

Script


Recommended Posts


  • Group:  Members
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  80
  • Reputation:   0
  • Joined:  04/22/12
  • Last Seen:  

Can edit this script and make in menu trade staff for Dead Branch and Bloody Branch.

1 gold coin = 50 dead branch and 5 gold coin = 10 Bloody Branch.

db.txt

Edited by deso
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1125
  • Reputation:   236
  • Joined:  07/30/12
  • Last Seen:  


prontera,164,167,2 script DB Trader 912,{

mes "[ Sarah ]";

mes "Hello, traveller!";

mes "How may I help you today?";

menu

"My Gold Coin to Dead Branch!",Ldb,

"My Gold Coin to Bloody Branch!",Lbb,

"Nothing",L_Not;

Ldb:

mes "[ Sarah ]";

mes "I will replace your 1 Gold Coin into 10 Bloody Branch!";

next;

if(countitem(671) < 1) goto L_CantMake;

delitem 671,1;

mes "Oh! Thank you...";

next;

mes "Here you go!!!";

getitem 604,50;

close;

Lbb:

mes "[ Sarah ]";

mes "I will replace your 1 Gold Coin into 50 Dead Branch!";

next;

if(countitem(671) < 1) goto L_CantMake;

delitem 671,1;

mes "Oh! Thank you...";

next;

mes "Here you go!!!";

getitem 12103,10;

close;

L_Not:

mes "[ Sarah ]";

mes "You do not have enough Gold Coin to complete this action.";

close;

}

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
Reply to this topic...

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