Don't forget World of Warcraft "gold". MUDflation inflationary enuff for ya?
-MarkM- (I already posted elsewhere that I suspect BitNickels might not prove as deflationary as Actual Original ("Hacker") Bitcoin.)
What are bitNickels ?
OMG already they have dropped out of mainstream consciousness, quick, sell, sell, sell, before the price plum gets eaten! OMG OMG OMG
-MarkM- (Try Freenode #bitcoin-bots /msg nickelbot help nkl)
I can't get there. Can you paste here the displayed text when I do that?
Oh that would just be a tiny little help blurb bowing to IRC flood limitations of only sending one line per two seconds.
Here we can do better: we can go to the source! :
#!/bin/bash
#
# nkl.sh
#
# BitNickel commands
#
#
# include constants.inc
#
. /var/games/crossfire/mybots/eggdrop/nickelbot/cmds/constants.inc
#
# Now on with the show
#
nick="$1"
cmd="$2"
if [ "$nick" == "" ]; then
echo 'Nick was empty! NKL commands require a non-empty nick.'
exit 1
fi
for n in btcbank britbank cdnbank czbank gmcbank grfbank martianbank nmcbank nickelbank unbank; do
if [ "$n" == "$nick" ]; then
echo "Sorry, $n is a restricted nick with no access to this function from IRC"
exit 1
fi
done
$BITNICKELD getnewaddress throwaways >/dev/null 2>/dev/null
if [ "$cmd" == "" ]; then
echo 'Your bitNicKeL address here is:'
$BITNICKELD getaccountaddress $nick
echo -n 'Your bitNicKeL balance here is '
balance=`$BITNICKELD getbalance $nick`
echo "$balance"
if [ `echo "$balance < 1" |$BC` ]; then
echo 'Your balance is less than 1! Please bring your balance up to at least 1!'
fi
echo "Transaction fee per kilobyte here is set to $TXFEE"
exit 0
fi
if [ "$cmd" == "help" ]; then
echo 'NKL commands: nkl, nkl balance, nkl address, nkl send amount destination'
exit 0
fi
if [ "$cmd" == "address" ]; then
echo 'Your bitNicKeL address here is:'
$BITNICKELD getaccountaddress $nick
exit 0
fi
if [ "$cmd" == "balance" ]; then
echo -n 'Your bitNicKeL balance here is '
balance=`$BITNICKELD getbalance $nick`
echo "$balance"
if [ `echo "$balance < 1" |$BC` ]; then
echo 'Your balance is less than 1! Please bring your balance up to at least 1!'
fi
echo "Transaction fee per kilobyte here is set to $TXFEE"
exit 0
fi
if [ "$cmd" == "send" ]; then
if [ "$3" == "" ]; then
echo 'Syntax: nkl send toaddress amount'
exit 1
fi
if [ "$4" == "" ]; then
echo 'Syntax: nkl send toaddress amount'
exit 1
fi
echo -n 'Your bitNicKeL balance here is '
balance=`$BITNICKELD getbalance $nick`
echo "$balance"
if [ `echo "$balance < 1" |$BC` ]; then
echo 'Your balance is less than 1! Please bring your balance up to at least 1!'
exit 1
fi
echo "Transaction fee per kilobyte here is set to $TXFEE"
if [ `echo "$3 < 1" |$BC` ]; then
Send amount is less than 1! Please send at least 1!
exit 1
fi
$BITNICKELD sendfrom $nick $3 $4
exit 0
fi
if [ "$cmd" == "exchange" ]; then
if [ "$3" == "" ]; then
echo 'Syntax: nkl exchange tocurrency amount'
exit 1
fi
if [ "$4" == "" ]; then
echo 'Syntax: nkl exchange tocurrency amount'
exit 1
fi
fxout=$4
fxback=$fxout
echo -n 'Your bitNicKeL balance here is '
balance=`$BITNICKELD getbalance $nick`
echo "$balance"
if [ `echo "$balance < 1" |$BC` ]; then
echo 'Your balance is less than 1! Please bring your balance up to at least 1!'
exit 1
fi
echo "Transaction fee per kilobyte here is set to $TXFEE"
if [ `echo "$fxout < 1" |$BC` ]; then
Amount to exchange is less than 1! Please exchange at least 1!
exit 1
fi
nicksenoughinbank=`echo "$balance > ($fxout + $TXFEE)" |$BC`
# echo "balance=$balance, nicksenoughinbank=$nicksenoughinbank"
if [ "$nicksenoughinbank" == 0 ]; then
echo "Sorry, that is more than you have in your account."
exit 1
fi
# echo 'EXCHANGING NOT FULLY IMPLEMENTED YET, BLOCKED UNTIL FIXED'
# exit 1
if [ "$3" == "mbc" ]||[ "$3" == "MBC" ]; then
$BOTCOIND getnewaddress throwaways >/dev/null 2>/dev/null
nicksdestaddress=`$BOTCOIND getaccountaddress $nick`
if [ "$nicksdestaddress" == "" ]; then
echo "Sorry, I failed to retrieve your destination-address, it came out empty."
exit 1
fi
echo 'Your Martian BotCoin address here is'
echo "$nicksdestaddress"
echo 'That is where the resulting Martian BotCoin will be sent.'
echo "One bitNicKeL currently buys $NKLbuysMBC Martian BotCoins."
bankbalance="`$BOTCOIND getbalance nickelbank`"
fxback=`echo "scale=8 ; $fxout * $NKLbuysMBC"|$BC`
enoughinbank=`echo "$bankbalance > ($fxback + $TXFEE)" |$BC`
# echo "bankbalance=$bankbalance, enoughinbank=$enoughinbank"
if [ "$enoughinbank" == 0 ]; then
echo "Sorry, right now I cannot exchange an amount that large"
exit 1
fi
$BITNICKELD sendfrom $nick $MARTIANNKLADDRESS $fxout
$BOTCOIND sendfrom nickelbank $nicksaddress $fxback
exit 0
fi
if [ "$3" == "ukb" ]||[ "$3" == "UKB" ]; then
$BRITCOIND getnewaddress throwaways >/dev/null 2>/dev/null
nicksdestaddress=`$BRITCOIND getaccountaddress $nick`
if [ "$nicksdestaddress" == "" ]; then
echo "Sorry, I failed to retrieve your destination-address, it came out empty."
exit 1
fi
echo 'Your United Kingdom Britcoin address here is'
echo "$nicksdestaddress"
echo 'That is where the resulting United Kingdom Britcoin will be sent.'
echo "One bitNicKeL currently buys $NKLbuysUKB United Kingdom BritCoins."
bankbalance="`$BRITCOIND getbalance nickelbank`"
fxback=`echo "scale=8 ; $fxout * $NKLbuysUKB"|$BC`
enoughinbank=`echo "$bankbalance > ($fxback + $TXFEE)" |$BC`
# echo "bankbalance=$bankbalance, enoughinbank=$enoughinbank"
if [ "$enoughinbank" == 0 ]; then
echo "Sorry, right now I cannot exchange an amount that large"
exit 1
fi
$BITNICKELD sendfrom $nick $BRITNKLADDRESS $fxout
$BRITCOIND sendfrom nickelbank $nicksaddress $fxback
exit 0
fi
if [ "$3" == "czb" ]||[ "$3" == "CZB" ]; then
$CZBITCOIND getnewaddress throwaways >/dev/null 2>/dev/null
nicksdestaddress=`$CZBITCOIND getaccountaddress $nick`
if [ "$nicksdestaddress" == "" ]; then
echo "Sorry, I failed to retrieve your destination-address, it came out empty."
exit 1
fi
echo 'Your CZech Bitcash address here is'
echo "$nicksdestaddress"
echo 'That is where the resulting CZech Bitcash will be sent.'
echo "One bitNicKeL currently buys $NKLbuysCZB CZech Bitcash."
bankbalance="`$CZBITCOIND getbalance nickelbank`"
fxback=`echo "scale=8 ; $fxout * $NKLbuysCZB"|$BC`
enoughinbank=`echo "$bankbalance >= ($fxback + $TXFEE)" |$BC`
# echo "bankbalance=$bankbalance, enoughinbank=$enoughinbank"
if [ "$enoughinbank" == 0 ]; then
echo "Sorry, right now I cannot exchange an amount that large"
exit 1
fi
$BITNICKELD sendfrom $nick $CZNKLADDRESS $fxout
$CZBITCOIND sendfrom nickelbank $nicksaddress $fxback
exit 0
fi
echo 'Hmm I guess you maybe specified a destination currency I do not offer...'
fi
-MarkM-