G1sms/shell/sms_AIDE.sh

37 lines
961 B
Bash
Executable File

#!/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"
MESS="[Aide]
N Id-M (Relier au portefeuille Id-M)
U G1/DU/LOVE (UNIT)
S (Solde)
P 06nnnnnnnn 300 (Envoyer 300 UNIT à 06nnnnnnnn)"
# Send response SMS
sms_SEND "$1" "$MESS"
MESS="EMAIL moi@email.tld (Recevoir vos commandes par email)
TAG 10 5 (Créer 5 G1Tag de 10 G1)
VIR 50 Idw (Virer 50 UNIT vers Idw)"
sms_SEND "$1" "$MESS"
MESS="REC (Pour un payement récurrent)
D (Détail de votre compte)
A votre service.
$ADMINPSEUDO / G1sms+ / $ADMINPHONE
https://g1sms.fr"
sms_SEND "$1" "$MESS"
log "END sms_AIDE.sh"
log "~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
exit