Jump to content
  • 0

Skull to Zeny


FuiJin1998

Question


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

Hi...i want to request this...

i want to make my script like 

10 Skull = 1m 

Thx you  /no1

 

 

 

//////////////////////////////////////////////////////////

lhz_dun03,120,122,3    script    Zeny Trader    120,{
    mes "[^FF0000Zeny Trader^000000]";
    mes "Hi there, seen like the GM has given you some Tips.";
    mes "You want to trade your skulls to zeny?";
    next;
    menu "Items needed ?",M_required,"I have the necessary items!",M_check,"Leave",M_away;


    M_required:
            mes "[^FF0000Zeny Trader^000000]";
            mes "[^FF0000Must 10 Skull^000000]";
            mes "^FF0000100,000^000000 Zeny for ^FF00001^000000 skull";
        close;


    M_check:
        if(countitem(7420) < 10) goto M_missing;
            mes "[^FF0000Zeny Trader^000000]";
            mes "Oh Great! you must Thanks for your GM...";
            mes "By giving you some Tips.";
            delitem 7420,10;
            set zeny,zeny+1000000;
        close;


    M_missing:
        mes "[^000000Skull Trader^000000]";
        mes "You are missing the following Items!";
        if(countitem(7420) < 10) mes "^FF0000"+(10 - countitem(7420)) +"^000000 Skull";
        close;


    M_away:
            mes "[^FF0000Zeny Trader^000000]";
            mes "Have a nice day.";
            mes "Come back when you want to exchange some zeny.";
        close;
}
Edited by Patskie
BBCode
Link to comment
Share on other sites

6 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  44
  • Reputation:   5
  • Joined:  12/06/11
  • Last Seen:  

That's actually what your script is doing.

Just need to replace:

mes "^FF0000100,000^000000 Zeny for ^FF00001^000000 skull";
        close;

By:

mes "^FF00001,000,000^000000 Zeny for ^FF000010^000000 skull";
        close;
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  55
  • Topics Per Day:  0.01
  • Content Count:  1191
  • Reputation:   161
  • Joined:  06/12/12
  • Last Seen:  


lhz_dun03,120,122,3 script Zeny Trader 120,{

mes "[^FF0000Zeny Trader^000000]";

mes "Hi there, seen like the GM has given you some Tips.";

mes "You want to trade your skulls to zeny?";

next;

menu "Items needed ?",M_required,"I have the necessary items!",M_check,"Leave",M_away;

M_required:

mes "[^FF0000Zeny Trader^000000]";

mes "[^FF0000Must 10 Skull^000000]";

mes "^FF00001,000,000^000000 Zeny for ^FF000010^000000 skull";

close;

M_check:

if(countitem(7420) < 10) goto M_missing;

mes "[^FF0000Zeny Trader^000000]";

mes "Oh Great! you must Thanks for your GM...";

mes "By giving you some Tips.";

delitem 7420,10;

set zeny,zeny+1000000;

close;

M_missing:

mes "[^000000Skull Trader^000000]";

mes "You are missing the following Items!";

if(countitem(7420) < 10) mes "^FF0000"+(10 - countitem(7420)) +"^000000 Skull";

close;

M_away:

mes "[^FF0000Zeny Trader^000000]";

mes "Have a nice day.";

mes "Come back when you want to exchange some zeny.";

close;

}

Edited by Patskie
BBCode
Link to comment
Share on other sites


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

still cannot...

need help!!

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  55
  • Topics Per Day:  0.01
  • Content Count:  1191
  • Reputation:   161
  • Joined:  06/12/12
  • Last Seen:  

what exactly the problem?

skull deleted but not receive some zeny or another?

please define your problem in here.

Link to comment
Share on other sites


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

the skull not deleted and the zeny also not receive...

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  1702
  • Reputation:   238
  • Joined:  09/05/12
  • Last Seen:  

I tried your script and it works fine. any error on your console?

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