Jump to content
  • 0
M a p l e

Share cash in party

Question

Guys get me a doubt!
I was wondering if there is a way to share the cash value with all group members who are online when using the item.

This item of mine when used generates an amount of Cash from 10 to 100

(45000, 'Cash_Eletronico', 'Cash Eletrônico', 'Healing', NULL, 50, NULL, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'set @cash, rand(10,100);   set #CASHPOINTS,#CASHPOINTS+ @cash;   dispbottom \"Você recebeu \"[email protected]+\" Cash.\";', NULL, NULL),

 

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0
On 9/21/2021 at 7:56 AM, M a p l e said:

Guys get me a doubt!
I was wondering if there is a way to share the cash value with all group members who are online when using the item.

This item of mine when used generates an amount of Cash from 10 to 100

(45000, 'Cash_Eletronico', 'Cash Eletrônico', 'Healing', NULL, 50, NULL, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'set @cash, rand(10,100);   set #CASHPOINTS,#CASHPOINTS+ @cash;   dispbottom \"Você recebeu \"[email protected]+\" Cash.\";', NULL, NULL),

 


Check this https://github.com/rathena/rathena/blob/master/doc/script_commands.txt#L4077

 

addrid(2,0,getcharid(1)); set @cash, rand(10,100); set #CASHPOINTS,#[email protected]; dispbottom "Você recebeu "[email protected]+" Cash.";


 

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

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.