[mod] Short Code Bundle [scb]

User avatar
Ish
Member
 
Posts: 10
Joined: Fri Oct 06, 2017 07:49
GitHub: I3h
IRC: I3h or Ish2
In-game: Ish or Ish2

[mod] Short Code Bundle [scb]

by Ish » Fri Oct 06, 2017 18:05

Hello Minetest community, this is my first mod which
adds some small commands like /anonymous, /afk, and some others.

Download, see license or see the code.



Features:
> /anonymous > Hide your identity. Look at the example below.
> /news > Shout something to players. This isn't much use but.. whatever.
> /rolladie > Roll a dice, and get a number from 1-6. (known bug: when you type /rolladie for the second time, you will get the same number as your first. The only way I can see to fix this is to relogin and try again - you should get another number.)
> /afk and /back > Very simple piece of code: when you type /afk a chat message is sent to the main chat: "> <name> is afk/back". I made this because I have seen 2 mods that didn't work (both too old) so I decided to make the simplest version possible.

[I changed the mod name from noprefix to scb, which as you can tell stands for short code bundle. This is because noprefix didn't make sense for other parts of the code (commands.)]
Last edited by Ish on Sun Nov 05, 2017 11:04, edited 3 times in total.
> not much to say here.
> my (very vip) website: i3h
 

User avatar
azekill_DIABLO
Member
 
Posts: 7460
Joined: Wed Oct 29, 2014 20:05
Location: OMICRON
GitHub: azekillDIABLO
In-game: azekill_DIABLO
 

User avatar
Ish
Member
 
Posts: 10
Joined: Fri Oct 06, 2017 07:49
GitHub: I3h
IRC: I3h or Ish2
In-game: Ish or Ish2

Re: [mod] Anonymous [noprefix]

by Ish » Mon Oct 09, 2017 13:25

.
Last edited by Ish on Sun Oct 15, 2017 10:34, edited 1 time in total.
> not much to say here.
> my (very vip) website: i3h
 

User avatar
ManElevation
Member
 
Posts: 895
Joined: Tue Aug 02, 2016 22:04
Location: Madrid,Spain
GitHub: ManElevation
IRC: ManElevation
In-game: ManElevation

Re: [mod] Anonymous [noprefix]

by ManElevation » Mon Oct 09, 2017 14:20

short code. but i like it
My Public Mods! Discord: Rottweiler Games#3368
 


Return to WIP Mods



Who is online

Users browsing this forum: No registered users and 3 guests