Jump to content
  • 0

How to get Cash Point from usable item?


Question

Posted

Hi there, need you support!

How to gain cash point by using usable items?

I did research and found out this but it doesn't work on me

Anyone please help me on this?

Quote

set #CASHPOINTS, #CASHPOINTS+100;

 

9 answers to this question

Recommended Posts

  • 0
Posted

- Id: xxxxxx

AegisName: Ticket Cash

Name: Ticket Cash

Type: Usable

Weight: 1

Trade:

Override: 100

NoDrop: true

NoSell: true

NoMail: true

NoAuction: true

Script: |

set #CASHPOINTS, #CASHPOINTS+100; dispbottom "Ha recibido 100 Cash Points.";

 

It should work for you.

  • 1
Posted
45000,Cash_Ticket_100,Cash Ticket 100,18,0,,10,,,,,0xFFFFFFFF,63,2,,,,,,{ set #CASHPOINTS,#CASHPOINTS+100; dispbottom "You gained [ 100 Cash Points ]. Enjoy!"; },{},{}

 

  • Upvote 1
  • Love 1
  • 0
Posted

no success here

30042,Bonus_Eletronico,Cash Ticket 100,18,0,,10,,,,,0xFFFFFFFF,63,2,,,,,,{
    set #CASHPOINTS,#CASHPOINTS+100;
    dispbottom "You gained [ 100 Cash Points ]. Enjoy!";
}
,{
}
,{
}
}

 

  • Upvote 1
  • 0
Posted (edited)
On 2/12/2022 at 11:04 AM, poring amarelo said:

no success here

30042,Bonus_Eletronico,Cash Ticket 100,18,0,,10,,,,,0xFFFFFFFF,63,2,,,,,,{
    set #CASHPOINTS,#CASHPOINTS+100;
    dispbottom "You gained [ 100 Cash Points ]. Enjoy!";
}
,{
}
,{
}
}

 

you can also use atcommand

atcommand "@cash 100"; dispbottom "+100 Cash Points";

  - Id: 35004
    AegisName: Ragnarok_Coin
    Name: Ragnarok Coin
    Type: Usable
    Buy: 50
    Weight: 0
    Script: |
      specialeffect2 100; atcommand "@cash 100";  dispbottom "You gained [ 100 Cash Points ].!";   

you can also add specialeffect2   just for fun ?

Edited by markiez22
  • Upvote 1
  • 0
Posted (edited)

I made this script for cashpoint manager: Ragnarok-Online-Scritps/Hercules/Utility/cashpointManager.txt at master · Zindokar/Ragnarok-Online-Scritps

It controls if the player is online use #CASHPOINT, if offline, use SQL. I made for eAthena and adapted to Hercules but I bet is working on rAthena.

Main purpose is a GM can add Cashpoints to a Player.

If giving errors or something, open a post in scripting support and tag me so I can help. Not here.

Edited by rokimoki

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