Hello Guest

How to tip from DuckDice?

  • 3 Replies
  • 231 Views
*

Bullseye

  • **
  • 36
  • +0/-0
    • View Profile
How to tip from DuckDice?
« on: June 09, 2021, 07:47:49 pm »
I have tried the following, but neither seem to work

tip(username,amount)
tip(amount,username)
withdraw(username, amount)


is there a way to tip another user on duckdice in program mode?

i saw this in the dicebot program:
Code: [Select]
public override bool InternalSendTip(string User, decimal amount)does this mean i can use InternalSendTip(user,amount) ?

Thank you,
« Last Edit: June 09, 2021, 08:24:44 pm by Bullseye »

*

Bullseye

  • **
  • 36
  • +0/-0
    • View Profile
Re: How to tip from DuckDice?
« Reply #1 on: June 10, 2021, 01:40:28 pm »
OK, i got this working...

i changed my wdaccount variable from:
wdaccount = bobdobbs
to
wdaccount = "bobdobbs"

so, tip(3,wdaccount) works now, so i guess tip(3,"bobdobbs") would work.  Next question:
Duckdice chat has a tip function like this: /tip {username} {amount} {currency} {comment?} {silent?}

Can i use that in my script to hide the tip from the chat?  Like tip(3,"bobdobbs",silent) ?

*

Seuntjie

  • *****
  • 593
  • +17/-3
    • View Profile
Re: How to tip from DuckDice?
« Reply #2 on: June 10, 2021, 02:24:08 pm »
Sorry for not replyinh faster, I wanted to test it to make sure they haven't removed/restricted the functionality before posting a solution.

Strings always need to be inside double quotes, otherwise the program just thinks bobdobbs is a variable.

Duckdice chat has a tip function like this: /tip {username} {amount} {currency} {comment?} {silent?}

Can i use that in my script to hide the tip from the chat?  Like tip(3,"bobdobbs",silent) ?
No.

*

Bullseye

  • **
  • 36
  • +0/-0
    • View Profile
Re: How to tip from DuckDice?
« Reply #3 on: June 11, 2021, 09:44:19 pm »
Thanks.