Jump to content
  • 0
dize11

Universal script Freebies 1 Per IP

Question

5 answers to this question

Recommended Posts

  • -1


amatsu,116,146,3 script Seyra 90,{

set [email protected]$, "[Seyra]";

setarray [email protected][0],2115,1,2357,1,2421,1,2524,1; // Rewards: <item id>,<item amount>

query_sql ("SELECT `last_ip` FROM `login` WHERE `account_id`=" + getcharid(3) + "", [email protected]$);

if ( getd("$" + [email protected]$ + "_NG") > 0 || #NewbieGift > 0)

{

mes [email protected]$;

mes "I'm sorry, the rewards are exclusively for new players.";

close;

}

mes [email protected]$;

mes "Welcome! Here are some free gifts";

mes "for newcomers:";

for ( set [email protected], 0; [email protected] < getarraysize([email protected]); set [email protected], [email protected] + 2 )

mes [email protected][[email protected]+1] + " x " + getitemname([email protected][[email protected]]);

close2;

set #NewbieGift, 1;

setd "$" + [email protected]$ + "_NG", getd("$" + [email protected]$ + "_NG") + 1;

for ( set [email protected], 0; [email protected] < getarraysize([email protected]); set [email protected], [email protected] + 2 )

getitem [email protected][[email protected]], [email protected][[email protected]+1];

end;

OnInit:

waitingroom "Newbie Gift!",0;

end;

}

  • Upvote 2
Link to comment
Share on other sites

  • 0
On 1/29/2017 at 5:22 PM, Melancholy said:

Is there support on the built-in achievement system i see on my client? like the ones that require me to get lvl 99 etc, mine deosnt seem to work.

 

On 7/14/2013 at 5:26 AM, Anakid said:

 


 

amatsu,116,146,3 script Seyra 90,{

set [email protected]$, "[Seyra]";

setarray [email protected][0],2115,1,2357,1,2421,1,2524,1; // Rewards: <item id>,<item amount>

query_sql ("SELECT `last_ip` FROM `login` WHERE `account_id`=" + getcharid(3) + "", [email protected]$);

if ( getd("$" + [email protected]$ + "_NG") > 0 || #NewbieGift > 0)

{

mes [email protected]$;

mes "I'm sorry, the rewards are exclusively for new players.";

close;

}

mes [email protected]$;

mes "Welcome! Here are some free gifts";

mes "for newcomers:";

for ( set [email protected], 0; [email protected] < getarraysize([email protected]); set [email protected], [email protected] + 2 )

mes [email protected][[email protected]+1] + " x " + getitemname([email protected][[email protected]]);

close2;

set #NewbieGift, 1;

setd "$" + [email protected]$ + "_NG", getd("$" + [email protected]$ + "_NG") + 1;

for ( set [email protected], 0; [email protected] < getarraysize([email protected]); set [email protected], [email protected] + 2 )

getitem [email protected][[email protected]], [email protected][[email protected]+1];

end;

OnInit:

waitingroom "Newbie Gift!",0;

end;

}

 

Sorry bro can you help me i dont know why my npc didnt come out hope you can help me thanks bro

prontera,143,171,4    script Seyra    90,{

set [email protected]$, "[Seyra]";

setarray [email protected][0],12210,2,14156,1,7229,2,14592,2; // Rewards: <item id>,<item amount>

query_sql ("SELECT `last_ip` FROM `login` WHERE `account_id`=" + getcharid(3) + "", [email protected]$);

if ( getd("$" + [email protected]$ + "_NG") > 0 || #NewbieGift > 0)

{

mes [email protected]$;

mes "I'm sorry, the rewards are exclusively for new players.";

close;

}

mes [email protected]$;

mes "Welcome to ^E066FFSin-RO World!^000000, "+ strcharinfo ( 0 ) +".I Am Seyra";

for ( set [email protected], 0; [email protected] < getarraysize([email protected]); set [email protected], [email protected] + 2 )

mes [email protected][[email protected]+1] + " x " + getitemname([email protected][[email protected]]);

close2;

set #NewbieGift, 1;

setd "$" + [email protected]$ + "_NG", getd("$" + [email protected]$ + "_NG") + 1;

for ( set [email protected], 0; [email protected] < getarraysize([email protected]); set [email protected], [email protected] + 2 )

getitem [email protected][[email protected]], [email protected][[email protected]+1];

end;

OnInit:

waitingroom "Newbie Gift!",0;

end;

}

 

Link to comment
Share on other sites

  • 0
1 hour ago, ProjectFaust said:

sorry bro i dont know why my npc didnt come out hope you can help me bro thanks btw

 

prontera,143,171,4    script Seyra    90,{

set [email protected]$, "[Seyra]";

setarray [email protected][0],12210,2,14156,1,7229,2,14592,2; // Rewards: <item id>,<item amount>

query_sql ("SELECT `last_ip` FROM `login` WHERE `account_id`=" + getcharid(3) + "", [email protected]$);

if ( getd("$" + [email protected]$ + "_NG") > 0 || #NewbieGift > 0)

{

mes [email protected]$;

mes "I'm sorry, the rewards are exclusively for new players.";

close;

}

mes [email protected]$;

mes "Welcome to ^E066FFSin-RO World!^000000, "+ strcharinfo ( 0 ) +".I Am Seyra";

for ( set [email protected], 0; [email protected] < getarraysize([email protected]); set [email protected], [email protected] + 2 )

mes [email protected][[email protected]+1] + " x " + getitemname([email protected][[email protected]]);

close2;

set #NewbieGift, 1;

setd "$" + [email protected]$ + "_NG", getd("$" + [email protected]$ + "_NG") + 1;

for ( set [email protected], 0; [email protected] < getarraysize([email protected]); set [email protected], [email protected] + 2 )

getitem [email protected][[email protected]], [email protected][[email protected]+1];

end;

OnInit:

waitingroom "Newbie Gift!",0;

end;

}

prontera,143,171,4<tab>script<tab>Seyra<tab>90,{
Fix the syntax of the npc add tabs :))

Link to comment
Share on other sites

amatsu,116,146,3 script Seyra 90,{

set [email protected]$, "[Seyra]";
setarray [email protected][0],2115,1,2357,1,2421,1,2524,1; // Rewards: <item id>,<item amount>

query_sql ("SELECT `last_ip` FROM `login` WHERE `account_id`=" + getcharid(3) + "", [email protected]$);

if ( getd("$" + [email protected]$ + "_NG") > 0 || #NewbieGift > 0)
{
mes [email protected]$;
mes "I'm sorry, the rewards are exclusively for new players.";
close;
}

mes [email protected]$;
mes "Welcome! Here are some free gifts"; 
mes "for newcomers:";

for ( set [email protected], 0; [email protected] < getarraysize([email protected]); set [email protected], [email protected] + 2 )
mes [email protected][[email protected]+1] + " x " + getitemname([email protected][[email protected]]);

close2;
set #NewbieGift, 1;
setd "$" + [email protected]$ + "_NG", getd("$" + [email protected]$ + "_NG") + 1;

for ( set [email protected], 0; [email protected] < getarraysize([email protected]); set [email protected], [email protected] + 2 )
getitem [email protected][[email protected]], [email protected][[email protected]+1];

end;

OnInit:

waitingroom "Newbie Gift!",0;
end;

}

 

 

Let me try this =)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.