diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-09-17 16:19:26 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-09-17 16:19:26 -0300 |
commit | 3cc8a03902b34e0bff2429ead34bf7c7f76a7457 (patch) | |
tree | 82e22b72593fd86224fbc53a596a5a675575f8db /db | |
parent | c24cbdc410afa40398f10f784795a9b23a6aa55f (diff) | |
download | serverdata-3cc8a03902b34e0bff2429ead34bf7c7f76a7457.tar.gz serverdata-3cc8a03902b34e0bff2429ead34bf7c7f76a7457.tar.bz2 serverdata-3cc8a03902b34e0bff2429ead34bf7c7f76a7457.tar.xz serverdata-3cc8a03902b34e0bff2429ead34bf7c7f76a7457.zip |
Rewrite Referral System
Diffstat (limited to 'db')
-rw-r--r-- | db/re/item_db.conf | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/db/re/item_db.conf b/db/re/item_db.conf index ca3354d9d..0e4db6fe4 100644 --- a/db/re/item_db.conf +++ b/db/re/item_db.conf @@ -2192,7 +2192,8 @@ item_db: ( } getitem .@it, rand(2,3); dispbottom l("Dear @@, I send you this gift in hopes you do well in TMW2.", strcharinfo(0)); - rodex_sendmail_acc(#REFERRAL_PROG, "TMW2 Team", "Invite Accepted", "Your friend accepted your invite and got level 5!\nThe one who invites most will win the recruitment event!", rand(50,150)); + //rodex_sendmail_acc(#REFERRAL_PROG, "TMW2 Team", "Invite Accepted", strcharinfo(0)+" accepted your invite and got level 5!\nThe one who invites most will win the recruitment event!", rand(50,150)); + $REFERRAL_IDS[#REFERRAL_PROG]=$REFERRAL_IDS[#REFERRAL_PROG]+1; } "> }, |