Jump to content
The forums will be going offline for an extended maintenance period at 1400hrs GMT on 19th June 2025. The number of hours for this downtime is intentionally not advertised due to the nature of these upgrades. ×
  • 0

Requesting this kind of script


Eros

Question


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

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


  • Group:  Members
  • Topic Count:  82
  • Topics Per Day:  0.02
  • Content Count:  846
  • Reputation:   138
  • Joined:  02/26/14
  • Last Seen:  


if(countitem(ITEMID) == 1) ITEMSCRIPT

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:  

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; },{},{}

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  82
  • Topics Per Day:  0.02
  • Content Count:  846
  • Reputation:   138
  • Joined:  02/26/14
  • Last Seen:  

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