I want to change it to "getitem2" so that i can give them +7 items
poring_w02,92,197,3 script Nadine#1 650,{set .@n$, "[Nadine]";setarray .@rwd[0],25500,1; // Rewards: <item id>,<item amount>query_sql ("SELECT `last_ip` 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.";mes "If your Playing in a Cafe Please do post your IGN in Shop Players section with your Group.";mes "Thank you!";close;}mes .@n$; mes "Nice to meet you "+ strcharinfo (0) +", my name is Nadine"; mes "Welcome to ^E066FFFate RO!^000000"; mes "I see that you're new here so to help you out I'd like to give you these"; mes "items as a gift to show how much we appreciate you here!";for ( set .@i, 0; .@i < getarraysize(.@rwd); set .@i, .@i + 2 )mes .@rwd[.@i+1] + " x " + getitemname(.@rwd[.@i]);close2;set #NewbieGift, 1;setd "$" + .@lip$ + "_NG", getd("$" + .@lip$ + "_NG") + 1;for ( set .@i, 0; .@i < getarraysize(.@rwd); set .@i, .@i + 2 )getitem .@rwd[.@i], .@rwd[.@i+1]; announce "Let's welcome " + strcharinfo(0) + " for joining our server ! ",0;end;OnInit:waitingroom "Solo Pack Gift!",0;end;}
Hello!
Can someone help me to modify this script?
I want to change it to "getitem2" so that i can give them +7 items
Share this post
Link to post
Share on other sites