IF Statement when variable is > num



  • I have a webhook were every hit gets sent to it but I'm having an issue

    I have a variable <COUNT> every hit has a different value but if the value is > 50 I want it to send to my webhook.

    Code:

    REQUEST POST "webhook" AcceptEncoding=FALSE 
      CONTENT "{ \"contents\" : \"<DISPLAY NAME>:<SkinCount>\" }" 
      CONTENTTYPE "application/json" 
      HEADER "User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko" 
      HEADER "Pragma: no-cache" 
      HEADER "Accept: */*" 
    

  • Admin

    IF "<COUNT>" GreaterThan 50
    ## put your REQUEST block here
    ENDIF
    

    Also wrong section, this is for guides, it's NOT for questions!!!


  • Admin

    Moved topic


Log in to reply