Skip to content

Instantly share code, notes, and snippets.

View bigfoot547's full-sized avatar

bigfoot bigfoot547

View GitHub Profile
@bigfoot547
bigfoot547 / ircrules.md
Last active August 21, 2017 00:16
IRC rules

Da Rulez

Description

These are the official channel rules for ##nuthouse2017 on freenode and #NutHouse on Rizon.

Rules

  1. Please no spamming or flooding
  2. Nothing racist or offensive (Well, you can be somewhat offensive, just not too much :P )
  3. If you want to paste more than 2 lines, please ask an operator, then we'll probably set a quiet on everyone else so they don't interrupt.
  4. Please don't spam bot commands

midnight and midnight-dev IRC Channel Rules

User rules

  1. No spamming
  2. No asking moderators for privileges
  3. Only very little offtopic allowed
  4. No NSFW topics, but some swearing is allowed. (Just don't become a sailor ;))

Operator Rules

  1. Being "annoyed" at someone is not an excuse for a ban or quiet.
local name, count
for name in pairs(minetest.luaentities) do
if name = "mobname" then -- Replace mobname with the name of the mob
count = count + 1
end
end
if count >= mobcap then return end -- Replace mobcap with the number of mobs at a time.
@bigfoot547
bigfoot547 / diff.diff
Created March 24, 2017 17:03
Diff between bigfoot547/csm-inspect and DS-minetest/oredetect
diff --git a/inspect.lua b/oredetect.lua
--- a/inspect.lua
+++ b/oredetect.lua
@@ -1,61 +1,72 @@
-local inspect = false
-minetest.register_chatcommand("inspect", {
- description = "Modify inspection settings",
- params = "help|get|on|off|hand|toggle",
+local oredetect = {}
+oredetect.on = false