forked from axiom-team/astroport
37 lines
1.1 KiB
Bash
Executable File
37 lines
1.1 KiB
Bash
Executable File
#!/bin/bash
|
|
################################################################################
|
|
# Author: Fred (support@qo-op.com)
|
|
# Version: 1.0
|
|
# License: AGPL-3.0 (https://choosealicense.com/licenses/agpl-3.0/)
|
|
################################################################################
|
|
MY_PATH="`dirname \"$0\"`" # relative
|
|
MY_PATH="`( cd \"$MY_PATH\" && pwd )`" # absolutized and normalized
|
|
source $MY_PATH/init.sh
|
|
source $MY_PATH/functions.sh
|
|
|
|
log "X sms_AIDE.sh ($1=phone)"
|
|
|
|
sms_INIT_ACCOUNT "$1" "NOSMS"
|
|
|
|
MESS="[Aide]
|
|
N Pseudo (membre ou nom de portefeuille) : Création portefeuille
|
|
U G1/DU/LOVE : Unité
|
|
S : Solde
|
|
P 06nnnnnnnn 300 : Payer 300 à 06nnnnnnnn"
|
|
# Send response SMS
|
|
sms_SEND "$1" "$MESS"
|
|
|
|
MESS="EMAIL moi@email : Indiquer son email
|
|
VIR 50 Pseudo : Virer 50 à Pseudo (membre ou Portefeuille SMS)"
|
|
sms_SEND "$1" "$MESS"
|
|
|
|
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)"
|
|
sms_SEND "$1" "$MESS"
|
|
|
|
log "END sms_AIDE.sh"
|
|
log "~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
|
|
|
|
exit
|