Eros Posted March 14, 2014 Group: Members Topic Count: 76 Topics Per Day: 0.02 Content Count: 202 Reputation: 2 Joined: 07/09/12 Last Seen: June 7, 2023 Share Posted March 14, 2014 This is what i want for exampleI have a donator set. once you don't have the Donation Badge ( Etc Item ) That script bonus wont work Quote Link to comment Share on other sites More sharing options...
Pneuma Posted March 14, 2014 Group: Members Topic Count: 82 Topics Per Day: 0.02 Content Count: 846 Reputation: 138 Joined: 02/26/14 Last Seen: March 7, 2018 Share Posted March 14, 2014 if(countitem(ITEMID) == 1) ITEMSCRIPT Quote Link to comment Share on other sites More sharing options...
Eros Posted March 14, 2014 Group: Members Topic Count: 76 Topics Per Day: 0.02 Content Count: 202 Reputation: 2 Joined: 07/09/12 Last Seen: June 7, 2023 Author Share Posted March 14, 2014 not working is it working on item_combo_db.txt ? not working on item_db.txt either here's the script{ if(countitem(909) == 100) bonus bAllStats,100; },{},{} Quote Link to comment Share on other sites More sharing options...
Pneuma Posted March 14, 2014 Group: Members Topic Count: 82 Topics Per Day: 0.02 Content Count: 846 Reputation: 138 Joined: 02/26/14 Last Seen: March 7, 2018 Share Posted March 14, 2014 (edited) not working is it working on item_combo_db.txt ? not working on item_db.txt either here's the script { if(countitem(909) == 100) bonus bAllStats,100; },{},{} That would mean 100 of item 909; If that doesnt work try if(countitem(909) == 100){ bonus bAllStats,100;} To check for the different amounts: (countitem(909) == 100) : This means it checks for exactly 100 (countitem(909) >= 100) : This checks for Greater than or equal to 100 (countitem(909) <= 100) : This checks for Less than or equal to 100 Edited March 14, 2014 by Pneuma Quote Link to comment Share on other sites More sharing options...
Question
Eros
This is what i want for example
I have a donator set. once you don't have the Donation Badge ( Etc Item ) That script bonus wont work
Link to comment
Share on other sites
3 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.