Updated the MN code to check your MN
You have to be using dash-cli along with dashd
#!/bin/bash
# -----
MNIP=`wget -qO-
http://ipecho.net/plain ; echo | awk "{print \\$2}" | sed -e 's/addr://' | tr "\n" " "`;
export GREP_OPTIONS=--color=always
# -----
function wait_clear() {
PROMPT="
press enter or wait $1 seconds to continue "
read -p "$PROMPT" -t $1 NOOP;
clear;
}
# ----------------------------------------------------------------
wait_clear 1;
cat << EOF
YOU MUST RUN
DASH-CLI
FOR THE DASH REVIEW
WITH MASTERNODE
TO PROCEED PROPERLY
EOF
# ----------------------------
wait_clear 5;
cat << EOF
*** START 'DASH' REVIEW - WITH MASTERNODE
EOF
# ----------------------------
wait_clear 5;
cat << EOF
*** CHECKING YOUR DASH MASTERNODE IP CONNECTION(S) ON PORT: 9999
`netstat -an | grep 9999 | more`
*** CHECKING YOUR DASH 'LISTENING' ABILITY
*** LISTENING, ON PORT : 9999
`netstat -an | grep LISTEN | grep 9999
EOF
# ----------------------------
wait_clear 10;
cat << EOF
***GET-INFO FOR 'DASH'
`./dash-cli getinfo`
EOF
# ----------------------------
wait_clear 8;
cat << EOF
***YOUR DASH MASTERNODE 'IP' SHOULD = ENABLED
`./dash-cli masternode list | grep $MNIP`
EOF
cat << EOF
***ZERO IS THE BEST SCORE FOR YOUR MASTERNODE
`./dash-cli masternode list pose | grep $MNIP`
EOF
# ----------------------------
wait_clear 8;
VOTES=`./dash-cli masternode list votes`
cat << EOF
***ALL VOTING RESULTS FOR THE CURRENT DASH 'VOTE'
-------------------------------------------------
YES = $(echo "$VOTES" | grep -c YEA)
NO = $(echo "$VOTES" | grep -c NAY)
ABSTAIN = $(echo "$VOTES" | grep -c ABSTAIN)
YOUR VOTE = $(echo "$VOTES" | grep $MNIP)
TOTAL MASTERNODE COUNT = $(./dash-cli masternode count)
EOF
# ----------------------------
wait_clear 10;
cat << EOF
HAVE A NICE DAY ........................................
EOF
# ----------------------------
wait_clear 5;
cat << EOF
PLEASE FEEL FREE TO DONATE TO THE FOLLOWING DASH ADDRESS
XexrpL5LWdtzkDRspikBqR5Ue1Kt3zyduv
*33% OF ALL DONATIONS WILL GO TO fuzzyduck
*33% OF ALL DONATIONS WILL GO TO moocowmoo
EOF
exit;
copy and paste into: nano [what-ever-you-want-to-name-it]
to save: CTRL-x
input: chmod +x ./[what-ever-you-named-it]
to run: ./[name]
enjoy :-D