number=$(python /usr/bin/nicolais_script -c $1 -e | grep -A 3 -B 3 NICKNAME:$1 | grep CELL | cut -d: -f2 | sed '$s/.$//') smssend -n $number -m "$2" echo "SMS to $1 ($number): \"$2\"" exit 0