Bitcoin Forum
April 25, 2018, 11:12:12 PM *
News: Latest stable version of Bitcoin Core: 0.16.0  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: I want bells and whistles  (Read 895 times)
ronaldmaustin
Full Member
***
Offline Offline

Activity: 149
Merit: 100


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.
The forum strives to allow free discussion of any ideas. All policies are built around this principle. This doesn't mean you can post garbage, though: posts should actually contain ideas, and these ideas should be argued reasonably.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1524697932
Hero Member
*
Offline Offline

Posts: 1524697932

View Profile Personal Message (Offline)

Ignore
1524697932
Reply with quote  #2

1524697932
Report to moderator
1524697932
Hero Member
*
Offline Offline

Posts: 1524697932

View Profile Personal Message (Offline)

Ignore
1524697932
Reply with quote  #2

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

Activity: 126
Merit: 100



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
Merit: 1001


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!