Noctis Posted January 16, 2017 Posted January 16, 2017 (edited) Whats the script for the npc give us an item only 1 time?( or if i already have the item he dont give me another one) My actual script if i keep talking with him he keeps giving me the item Edited January 16, 2017 by Exmas Quote
0 Cyro Posted January 16, 2017 Posted January 16, 2017 You can just use freebies script or reward giving script... Just try searching Quote
0 Noctis Posted January 16, 2017 Author Posted January 16, 2017 (edited) 10 hours ago, Cyro said: You can just use freebies script or reward giving script... Just try searching I searched " ragnarok script npc that give item only 1 time" and didnt find anything. Only found an account bound item script 9 hours ago, Cyro said: payon,163,127,3 script OneTimeItemGiver 790,{ if( !#onetimeitem ){ set #onetimeitem,1; mes "Hie there!!"; mes "you here for the item??."; next; mes "Here you go! Enjoy!"; getitem youritemidhere,quantity ; //getitembound << use this to give bounded items }else{ mes "You already claimed your item."; } close; OnInit: waitingroom "Item Giver!",0; end; } Thanks man Edited January 16, 2017 by Exmas Quote
0 Cyro Posted January 16, 2017 Posted January 16, 2017 (edited) payon,163,127,3 script OneTimeItemGiver 790,{ if( !#onetimeitem ){ set #onetimeitem,1; mes "Hie there!!"; mes "you here for the item??."; next; mes "Here you go! Enjoy!"; getitem youritemidhere,quantity ; //getitembound << use this to give bounded items }else{ mes "You already claimed your item."; } close; OnInit: waitingroom "Item Giver!",0; end; } Edited January 16, 2017 by Cyro 1 Quote
0 domez86 Posted September 22, 2019 Posted September 22, 2019 On 1/16/2017 at 6:11 PM, Noctis said: I searched " ragnarok script npc that give item only 1 time" and didnt find anything. Only found an account bound item script Thanks man excellent script, but you explain to me how the script makes you see that the account has already obtained the gift? register it in the database? Quote
0 Naruto Posted September 22, 2019 Posted September 22, 2019 On 1/16/2017 at 12:11 PM, Noctis said: I searched " ragnarok script npc that give item only 1 time" and didnt find anything. Only found an account bound item script Thanks man its this if( !#onetimeitem ){ set #onetimeitem,1; Quote
Question
Noctis
Whats the script for the npc give us an item only 1 time?( or if i already have the item he dont give me another one) My actual script if i keep talking with him he keeps giving me the item
Edited by Exmas5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.