It looks like you're new here. If you want to get involved, click one of these buttons!
Selenity said: First of all, you'll need this function I made because I don't remember what the Mudlet version of it is.function inArray(array_, key) result = table.index_of(array_, key) return result and true or false end
function inArray(array_, key) result = table.index_of(array_, key) return result and true or false end
table.contains(array, value)
^bless$
local room = gmcp.Room.Info.name if not room:find("The Cave of") then return end send("karma blessing "..room:match("%w+$"))
Comments
Pattern match: Containing the code:
Then simply type bless when in a karma cave and it'll send the correct type.