Files

34 lines
1.1 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# ezoic_radyasyon.js — main() (satır 390)
[← ezoic_radyasyon.js](index.md) · [← Master](../../wiki.md)
```javascript
function main(c) {
var msg = c.getValue("message");
if (msg != null) {
var lowerMsg = String(msg).toLowerCase();
// Chat eventlerinde "Ezoic" kontrolü yapıp boş log atmasın diye yardım vs kontrolünden önce check ediyoruz
var player = c.getSubject();
if (!player) return;
if (lowerMsg === "yardım" || lowerMsg === "yardim") {
yardim(c);
try { c.cancel(); } catch(e) {}
}
else if (lowerMsg === "klon") {
kacis_klonu(c);
try { c.cancel(); } catch(e) {}
}
else if (lowerMsg === "yüksel" || lowerMsg === "yuksel") {
lanetli_yuksel(c);
try { c.cancel(); } catch(e) {}
}
else if (lowerMsg === "saldır" || lowerMsg === "saldir") {
lanetli_saldir(c);
try { c.cancel(); } catch(e) {}
}
}
}
```