# Expression (Koşullar)

Evet eklentimizde log kontrolünü daha iyi yapabilmek için gelişmiş bir koşul sistemi mevcuttur.

## Koşullar:

* \== -> Bu expression 2 değer birbirine eşit olursa çalışır. Farklı olursa çalışmaz.
* != -> Bu expression 2 değer birbirine eşit olmazsa çalışır. Aynı olursa çalışmaz.
* \> -> Bu expression 1. değer 2. değerden büyük olursa çalışır. Diğer durumlarda çalışmaz.
* < -> Bu expression 1. değer 2. değerden küçük olursa çalışır. Diğer durumlarda çalışmaz.
* \>= -> Bu expression 1. değer 2. değer-e/den büyük ya da eşit olursa çalışır. Diğer durumlarda çalışmaz.
* <= -> Bu expression 1. değer 2. değer-e/den küçük ya da eşit olursa çalışır. Diğer durumlarda çalışmaz.
* \~= -> Bu expression 1. değerin içinde 2. değer bulunursa çalışır. 1. değerin içinde 2. değer bulunmazsa çalışmaz.
* !\~= -> Bu expression 1. değerin içinde 2. değer bulunmazsa çalışır. 1. değerin içinde 2. değer bulunursa çalışmaz.
* 2 expression arasında ve , ya da koşulları ekleyebilirsiniz.
* && -> Ve anlamı taşır.
* || -> Ya da anlamı taşır.

## Örnek kullanımlar:

* deneme == deneme -> Çalışır.
* deneme1 == deneme2 -> Çalışmaz.
* deneme != deneme -> Çalışmaz.
* deneme1 != deneme2 -> Çalışır.
* 1 > 2 -> Çalışmaz
* 2 > 1 -> Çalışır.
* 1 < 2 -> Çalışır.
* 2 < 1 -> Çalışmaz.
* 2 >= 2 -> Çalışır
* 1 >= 2 > Çalışmaz
* 2 <= 1 -> Çalışmaz
* 1 <= 2 -> Çalışmaz.
* 1 <= 1 -> Çalışır.
* 2 >= 2 -> Çalışır.
* deneme \~= den -> Çalışır.
* deneme \~= ankara -> Çalışmaz.
* ayakkabı \~= ayak -> Çalışır.
* deneme !\~= den -> Çalışmaz.
* deneme !\~= ankara -> Çalışır.
* ayakkabı !\~= ayak -> Çalışmaz.
* (deneme == deneme) && (deneme==deneme) -> Çalışır.
* (deneme == deneme) && (deneme==deneme2) -> Çalışmaz.
* (deneme == deneme) || (deneme==deneme) -> Çalışır.
* (deneme == deneme) || (deneme==deneme2) -> Çalışır.
* (deneme == deneme2) || (deneme==deneme2) -> Çalışmaz.

Bu koşullarda o modül içerisindeki tüm placeholderları kullanabilirsiniz.

### Örneğin;

* %player% == aldrich -> Eğer böyle bir expression girerseniz o log sistemi sadece buhari adlı oyuncuda çalışır.
* %blockname% == DIAMOND\_BLOCK -> Eğer böyle bir expression girerseniz o log sistemi sadece elmas blok olduğunda çalışır.

<br>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://tanitim.nourseproject.com/nlogs/eklenti-hakkinda/expression-kosullar.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
