12 lines
370 B
Markdown
12 lines
370 B
Markdown
# Test (2).js — trapCommand() (satır 621)
|
||
|
||
[← Test (2).js](index.md) · [← Master](../../wiki.md)
|
||
|
||
```javascript
|
||
function trapCommand(c, victim) {
|
||
tellOwner(c, "\u00a7f" + victim.getName() + " \u00a77tuzaga yakalandi.");
|
||
// Custom hook point if you want:
|
||
// c.executeCommand("mp event trigger " + victim.getName() + " LalCaught");
|
||
}
|
||
```
|