Jump to content
  • 0

Help IP Based Freebies


Ronald

Question


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.01
  • Content Count:  241
  • Reputation:   18
  • Joined:  06/04/14
  • Last Seen:  

http://pastebin.com/raw.php?i=rj0pX26x

 

I've tried this one. I am wondering how come some can still get freebies with just reconnecting? >.<

Please help me.

What can I do to prevent freebies from being spam besides from giving freebies manually. :)

 

 

Link to comment
Share on other sites

6 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  86
  • Topics Per Day:  0.02
  • Content Count:  591
  • Reputation:   146
  • Joined:  06/19/12
  • Last Seen:  


map,101,79,2 script Freebies 123,{

mes "[Hello]";

mes "[I can give you a free gift based on your future job.]";

mes "[Please choose the correct item for the future job]";

if(!#Freebie) {

mes "Select one:";

next;

switch(select("Swordsman:Magician - Ninja:Archer - Gunslinger:Acolyte:Merchant - Taekwon :Thief")) {

case 1:

rentitem 30172,86400;

rentitem 30173,86400;

rentitem 30174,86400;

rentitem 30175,86400;

rentitem 30176,86400;

rentitem 2394,86400;

getitem 12075,8;

getitem 12085,5; //Item for Swordsman

break;

case 2:

rentitem 30172,86400;

rentitem 30173,86400;

rentitem 30174,86400;

rentitem 30175,86400;

rentitem 30176,86400;

rentitem 2394,86400;

getitem 12080,8;

getitem 12095,5; //Item for Magician - Ninja

break;

case 3:

rentitem 30172,86400;

rentitem 30173,86400;

rentitem 30174,86400;

rentitem 30175,86400;

rentitem 30176,86400;

rentitem 2394,86400;

getitem 12095,8;

getitem 12090,5; ; //Item for Archer - Gunslinger

break;

case 4:

rentitem 30172,86400;

rentitem 30173,86400;

rentitem 30174,86400;

rentitem 30175,86400;

rentitem 30176,86400;

rentitem 2394,86400;

getitem 12080,8;

getitem 12090,5; //Item for Acolyte

break;

case 5:

rentitem 30172,86400;

rentitem 30173,86400;

rentitem 30174,86400;

rentitem 30175,86400;

rentitem 30176,86400;

rentitem 2394,86400;

getitem 12075,8;

getitem 12085,5; //Item for Merchant - Taekwon

break;

case 6:

rentitem 30172,86400;

rentitem 30173,86400;

rentitem 30174,86400;

rentitem 30175,86400;

rentitem 30176,86400;

rentitem 2394,86400;

getitem 12075,8;

getitem 12090,5; //Item for Thief

break;

}

set #Freebie, 1;

close;

}

OnInit:

delwaitingroom;

waitingroom "Get your freebies here ! ",0;

end;

}

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.01
  • Content Count:  241
  • Reputation:   18
  • Joined:  06/04/14
  • Last Seen:  

So what I need to do is make it rental? But I am giving freebies like misc items. >.< Which they can use to buy in NPC.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  86
  • Topics Per Day:  0.02
  • Content Count:  591
  • Reputation:   146
  • Joined:  06/19/12
  • Last Seen:  

change rentitem to item ...

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  76
  • Topics Per Day:  0.02
  • Content Count:  202
  • Reputation:   2
  • Joined:  07/09/12
  • Last Seen:  

What if i want this kind of freebies can anyone help me?


12537 - Freebies Box
7726 - Freebies orb
7256 - Freebies token
@item2 30023 1 1 0 0 4767 4763 0 0 - A costume with 2 orbs in it.


Ip based also
 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  86
  • Topics Per Day:  0.02
  • Content Count:  591
  • Reputation:   146
  • Joined:  06/19/12
  • Last Seen:  




getitem 12537,1; //Freebies Box
getitem 7726 ,1; // Freebies orb
getitem 7256 ,1; // Freebies token
getitem2 30023 1 1 0 0 4767 4763 0 0; //A costume with 2 orbs in it.






 




Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  76
  • Topics Per Day:  0.02
  • Content Count:  202
  • Reputation:   2
  • Joined:  07/09/12
  • Last Seen:  

I can't click the npc sir

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...