[DiscordArchive] I saw recently that you can make commands via lua with the . But now i made a simple script but when
[DiscordArchive] I saw recently that you can make commands via lua with the . But now i made a simple script but when
![[Image: unknown-79.png?ex=690c1d54&is=690acbd4&h...7494e99eb&]](https://cdn.discordapp.com/attachments/448835144564867094/945711618380169216/unknown-79.png?ex=690c1d54&is=690acbd4&hm=3f0947c5ce667f18199a2ea072a72fd4ba28d26d81426d64bf23b697494e99eb&)
![[Image: unknown-127.png?ex=690c1d54&is=690acbd4&...6a7707f57&]](https://cdn.discordapp.com/attachments/448835144564867094/945711618770223185/unknown-127.png?ex=690c1d54&is=690acbd4&hm=babdf27611076452abab17fc836616543dec23968aeca9c67ff7c9c6a7707f57&)
![[Image: unknown-57.png?ex=690c1d54&is=690acbd4&h...27a3fa1bf&]](https://cdn.discordapp.com/attachments/448835144564867094/945711619118354482/unknown-57.png?ex=690c1d54&is=690acbd4&hm=0c83f4222b9a2190703e93e80f156e531886b2ef0579b0faff51bca27a3fa1bf&)
Archived author: Acidy • Posted: 2022-02-22T16:00:21.027000+00:00
Original source
I saw recently that you can make commands via lua with the . But now i made a simple script but when i typ the command it gives me an error aswell but i added to the db. Do i need to fix this also in the core?
![[Image: unknown-79.png?ex=690c1d54&is=690acbd4&h...7494e99eb&]](https://cdn.discordapp.com/attachments/448835144564867094/945711618380169216/unknown-79.png?ex=690c1d54&is=690acbd4&hm=3f0947c5ce667f18199a2ea072a72fd4ba28d26d81426d64bf23b697494e99eb&)
![[Image: unknown-127.png?ex=690c1d54&is=690acbd4&...6a7707f57&]](https://cdn.discordapp.com/attachments/448835144564867094/945711618770223185/unknown-127.png?ex=690c1d54&is=690acbd4&hm=babdf27611076452abab17fc836616543dec23968aeca9c67ff7c9c6a7707f57&)
![[Image: unknown-57.png?ex=690c1d54&is=690acbd4&h...27a3fa1bf&]](https://cdn.discordapp.com/attachments/448835144564867094/945711619118354482/unknown-57.png?ex=690c1d54&is=690acbd4&hm=0c83f4222b9a2190703e93e80f156e531886b2ef0579b0faff51bca27a3fa1bf&)
Archived author: Honey • Posted: 2022-02-22T16:44:29.902000+00:00
Original source
add `return false` at the very end of your command function.
Archived author: Honey • Posted: 2022-02-22T16:45:04.973000+00:00
Original source
adding it to the command table has no effect that i am aware off aside documentation
Archived author: Honey • Posted: 2022-02-22T16:45:24.221000+00:00
Original source
that goes for security levels, too
Archived author: Acidy • Posted: 2022-02-22T17:24:51.749000+00:00
Original source
Allright ty
Archived author: Foe • Posted: 2022-02-22T17:51:25.160000+00:00
Original source
Correct
Archived author: Foe • Posted: 2022-02-22T17:51:53.048000+00:00
Original source
Adding return false to the end of your script terminates the command before it reaches the emulator command handler
Archived author: Foe • Posted: 2022-02-22T17:52:00.096000+00:00
Original source
hence no message that the command doesn't exist
Archived author: Winfidonarleyan • Posted: 2022-02-22T18:01:46.916000+00:00
Original source
Delete char `.`
Archived author: Winfidonarleyan • Posted: 2022-02-22T18:01:51.500000+00:00
Original source
For fix