How can I add custom commands that show text to players?

Post Reply
iZacZip
Member
Posts: 48
Joined: Sat Dec 05, 2015 10:37

How can I add custom commands that show text to players?

by iZacZip » Post

Hi’yall, I'd like to bring up a new topic:
How can I add custom commands like /hi to my server? (then it'd say (for example) "Hello, playername!"
If it's code, please tell me that and show me it in the reply
If it's something else regarding a minetest mod, please tell me that too and maybe show me the minetest forum page for that mod (if you can find it/be bothered.)
Thanks
Ignore my old posts.

User avatar
MineYoshi
Member
Posts: 5373
Joined: Wed Jul 08, 2015 13:20
Contact:

Re: How can I add custom commands that show text to players?

by MineYoshi » Post

You can look up here in this article:
http://dev.minetest.net/minetest.register_chatcommand
Oi

iZacZip
Member
Posts: 48
Joined: Sat Dec 05, 2015 10:37

Re: How can I add custom commands that show text to players?

by iZacZip » Post

MineYoshi wrote:You can look up here in this article:
http://dev.minetest.net/minetest.register_chatcommand
Thanks! That helps.
Ignore my old posts.

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests