G1sms/shell/sms_AIDE.sh

34 lines
998 B
Bash
Raw Normal View History

2019-11-27 23:43:32 +01:00
#!/bin/bash
################################################################################
# Author: Fred (support@qo-op.com)
# Version: 0.1
# License: AGPL-3.0 (https://choosealicense.com/licenses/agpl-3.0/)
################################################################################
source ./shell/init.sh
source ./shell/functions.sh
log "X sms_AIDE.sh ($1=phone)"
sms_INIT_ACCOUNT "$1" "NOSMS"
2019-12-29 15:08:27 +01:00
MESS="[Aide]
N Pseudo (membre ou nom de portefeuille) : Création portefeuille
2019-12-21 01:25:10 +01:00
U G1/DU/LOVE : Unité
2019-12-29 15:08:27 +01:00
S : Solde
P 06nnnnnnnn 300 : Payer 300 à 06nnnnnnnn"
2019-11-27 23:43:32 +01:00
# Send response SMS
sms_SEND "$1" "$MESS"
2019-12-29 15:08:27 +01:00
MESS="EMAIL moi@email : Indiquer son email
VIR 50 Pseudo : Virer 50 à Pseudo (membre ou Portefeuille SMS)"
2019-11-27 23:43:32 +01:00
sms_SEND "$1" "$MESS"
2019-12-29 15:08:27 +01:00
MESS="REC 50 Dest S 4 : Virer 50 à Dest pendant 4 Semaines (J/S/M/A)
BILL n : Recevoir 6 G1Billets remplis de n LOVE par email!
https://g1sms.fr - $ADMINPSEUDO ($ADMINPHONE)"
2019-11-27 23:43:32 +01:00
sms_SEND "$1" "$MESS"
log "END sms_AIDE.sh"
log "~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
exit