View Single Post
b666m's Avatar
Posts: 1,090 | Thanked: 476 times | Joined on Jan 2010 @ Ingolstadt, Germany
#28
nicolai updated his neat little script, so i adapted mine:

PHP Code:
name=$(python /usr/bin/nicolais_script -$-a mobile-phone head -1)
number=$(python /usr/bin/nicolais_script -$-a mobile-phone tail -1)
smssend -n $number -"$2"
echo "SMS to $name ($number): \"$2\""
exit 
with the updated python script there's only one exact nickname match possible.

edit: the search is case-sensitive *just wanted to mention*

Last edited by b666m; 2011-04-17 at 22:31.
 

The Following 2 Users Say Thank You to b666m For This Useful Post: