From 3cc8a03902b34e0bff2429ead34bf7c7f76a7457 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 17 Sep 2018 16:19:26 -0300 Subject: Rewrite Referral System --- db/re/item_db.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'db') 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; } "> }, -- cgit v1.2.3-70-g09d2