Jump to content
  • 0

Godly Rental Item zeny


Kanor

Question


  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  24
  • Reputation:   0
  • Joined:  08/16/13
  • Last Seen:  

Hello,

 

Can someone please add a worth of 20million zeny  when renting a God Item.

 

 

Heres the script:

prontera,161,178,5    script    God Item Rental    806,{

    mes "[God Item Rental]";

    if(hasitem == 1) {

        mes "Hello. You already claimed your rental God items.";
        close;

    }
    else
    {
        mes "Hello "+strcharinfo(0)+"!";
        mes "I can let you use my God item set for ^008C00a day^000000! Please make sure that you have reached the required level to use these items.";
        
        next;
        mes "Sleipnir - ^8C0000Level 94^000000";
        mes "Megingjard - ^8C0000Level 94^000000";
        mes "Mjolnir - ^8C0000Level 94^000000";
        mes "Brisingamen - ^8C0000Level 94^000000";
        mes "Asperika - ^8C0000Level 94^000000";
        switch(select("Rent the items:Maybe later")) {
        
            case 1:
                set hasitem, 1;
                rentitem 2629,432000;
                rentitem 2630,432000;
                rentitem 2410,432000;
                rentitem 5013,432000;
                rentitem 1530,432000;
                rentitem 2541,432000;
                close;
                break;
            case 2:
                mes "OK. Maybe some other time.";
                close;
                break;
        
        }

        
        
    }

} 

 
Edited by Kanor
Link to comment
Share on other sites

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


if( Zeny < 20000000 ){

mes "You need 20,000,000 zeny.";

close;

}

set Zeny,Zeny - 20000000;

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  24
  • Reputation:   0
  • Joined:  08/16/13
  • Last Seen:  

How do I set that each item would cost 20million zeny each? ;/

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  151
  • Topics Per Day:  0.04
  • Content Count:  393
  • Reputation:   3
  • Joined:  09/16/13
  • Last Seen:  

times the 20m  X 6 = /heh



if( Zeny < Answer ){
mes "You need 20,000,000 zeny.";
close;
}
set Zeny,Zeny - Answer;
 

put the total prize

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  24
  • Reputation:   0
  • Joined:  08/16/13
  • Last Seen:  

Where do I put that in the script?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  151
  • Topics Per Day:  0.04
  • Content Count:  393
  • Reputation:   3
  • Joined:  09/16/13
  • Last Seen:  

just add the prize

 

answer change Zenny prize 100m

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  24
  • Reputation:   0
  • Joined:  08/16/13
  • Last Seen:  

It worked, but it purchased all the items. I would the items to be purchase individually.

Example:

Lets say, a menu of listed items like megingjard, Asprika, Brisingamen, and Mjolnir ( They will have to choose 1 )and it will cost them 20million for an item.( no limit when purchasing a rent item)

- Solved

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