Bitcoin Forum
December 11, 2016, 12:03:07 PM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: I want bells and whistles  (Read 813 times)
ronaldmaustin
Full Member
***
Offline Offline

Activity: 149


View Profile
February 14, 2011, 12:14:21 AM
 #1

I literally want a bell or whistle to go off when I found a block.  Or I want the Bitcoin program to play an mp3 of "I'm in the money".  Or maybe just a loud siren accompanied by the screen flashing.  Or maybe the computer can catch fire.
1481457787
Hero Member
*
Offline Offline

Posts: 1481457787

View Profile Personal Message (Offline)

Ignore
1481457787
Reply with quote  #2

1481457787
Report to moderator
1481457787
Hero Member
*
Offline Offline

Posts: 1481457787

View Profile Personal Message (Offline)

Ignore
1481457787
Reply with quote  #2

1481457787
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1481457787
Hero Member
*
Offline Offline

Posts: 1481457787

View Profile Personal Message (Offline)

Ignore
1481457787
Reply with quote  #2

1481457787
Report to moderator
1481457787
Hero Member
*
Offline Offline

Posts: 1481457787

View Profile Personal Message (Offline)

Ignore
1481457787
Reply with quote  #2

1481457787
Report to moderator
dingus
Full Member
***
Offline Offline

Activity: 126



View Profile
February 14, 2011, 12:22:00 AM
 #2

I want mine to first play a cash register noise at 100% volume, followed by a deep, low voice saying "Show Me the Money!", followed THEN by various pictures of playboy models. Fireworks shooting out from behind my monitor are optional.

ding·us/ˈdiNGgəs/
Noun: Used to refer to something whose name the speaker cannot remember, is unsure of, or is humorously or euphemistically omitting
grondilu
Legendary
*
Offline Offline

Activity: 1134


View Profile
February 14, 2011, 01:03:27 AM
 #3

Just make a bash script that checks your balance and whistles if it has increased.

Code:
#!/bin/bash

oldbalance=0
if ! balance=$(bitcoind getbalance)
then
    echo coudn't retreive the balance 2>&1
    exit 1
elif (($balance > $oldbalance))
then
   mpg123 someCoolSoundFile.mp3
   oldbalance=$balance
fi

And then in the bash command line (or in you .profile or whereever):

$ while thenameofthescriptabove; do sleep 60; done &
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!