Function sinceKolmafiaRevision

  • If KoLmafia's revision number is less than revision, throws an exception. Otherwise, does nothing.

    This behaves like the since rXXX; statement in ASH.

    Parameters

    • revision: number

      Revision number

    Returns void

    If KoLmafia's revision number is less than revision.

    If revision is not an integer

    // Throws if KoLmafia revision is less than r20500
    sinceKolmafiaRevision(20500);