Files

26 lines
618 B
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.
# TelekinesiLal.js — main() (satır 91)
[← TelekinesiLal.js](index.md) · [← Master](../../wiki.md)
```javascript
function main(c) {
var p = getPlayer(c);
if (!p || !p.isPlayer()) return;
var raw = readCommandText(c);
var parsed = parseCommand(raw);
if (raw.length > 0 && !parsed) return;
if (!isOwner(p)) {
p.send("\u00a7c[Kisil] Bu sistemi sadece " + OWNER + " kullanabilir.");
return;
}
try {
handleCommand(c, p, parsed ? parsed.args : "");
} catch (err) {
p.send("\u00a7c[Kisil] Hata: " + err);
}
}
```