So... we see you haven't signed up here on our website.  

Do you really want to sit here and be "Unregistered" all your life?  No, of course you don't!  So, click this here link and you'll take that all important first step into enlightenment! (or something, whatever...)

Event question

Discussion in 'General' started by UbberN00ber, Feb 18, 2019.

  1. UbberN00ber

    UbberN00ber Member

    Points:
    84
    is this correct for allowing only players under lvl 10 to use 1 time

    STARTSWITH:!exp||ALEVEL:<10||COOLDOWN:999hr

    bc-givexp {{player_name}} 700000

    i put a cooldown cause i only want it used 1 time

    i had a player test it and they were able to use it 8 times before they stopped
     
  2. Trekkan

    Trekkan JFF Administrator Staff Member

    Points:
    1,393
    There are a couple things wrong with it actually. =)

    ALEVEL is ADMIN LEVEL, not the players in game level. If you want the in game level of their character, use PLEVEL

    The time on the cooldown isn't set right, it would be 999H not 999hr

    Also, just a heads up, cooldowns reset when RAT is restarted, they aren't saved. That's something I want to do in the future, but haven't had time to get to, so be aware of that.
     
  3. UbberN00ber

    UbberN00ber Member

    Points:
    84
    so without cooldown how can it be set to a 1 time use
     
  4. Trekkan

    Trekkan JFF Administrator Staff Member

    Points:
    1,393
    The best way right now is to use ALEVELs. So say only let ALEVEL >700 use it, and whjen they do, set their ALEVEL to 699 or something like that.
     

Share This Page