MikZ 5 Posted October 24, 2016 (edited) Good day Herc. scripters, wanted to know, if does this script read last_mac or last_ip? I only changed last_ip to last_mac, does that work? what else do i need to change? Please help. thanks! poring_w01,100,123,6 script SoloPack Points TW_TOWER,{ set .@n$, "[Seyra]"; query_sql ("SELECT `last_mac` FROM `login` WHERE `account_id`=" + getcharid(3) + "", .@lip$); if ( getd("$" + .@lip$ + "_NG") > 0 || #NewbieGift > 0) { mes .@n$; mes "I'm sorry, the rewards are exclusively for new players."; close; } mes .@n$; mes "Welcome! "+strcharinfo(0)+""; mes "Here are your points to trade in SOLO PACK SHOP"; close2; set #NewbieGift, 1; setd "$" + .@lip$ + "_NG", getd("$" + .@lip$ + "_NG") + 1; #FREEBIESSET += 1; #FREEBIESWING += 1; #FREEBIESJARD += 2; end; OnInit: waitingroom "Solo Pack Points!",0; end; } Edited October 24, 2016 by MikZ Quote Share this post Link to post Share on other sites
0 MikZ 5 Posted November 4, 2016 this is solved. ty! Quote Share this post Link to post Share on other sites
Good day Herc. scripters,
wanted to know, if does this script read last_mac or last_ip?
I only changed last_ip to last_mac, does that work? what else do i need to change?
Please help. thanks!
Edited by MikZShare this post
Link to post
Share on other sites