permGroup Rewrite
permGroup Rewrite
I wrote an updated version of the permGroup function that allows you to specify a parent group for the group you are creating. It still works in the same manner that permGroup does, meaning that what is created is not actually a group, but rather a blank trigger/alias/timer. The original syntax still works as expected (permGroup(name, type)). To specify a parent, just add the name as the last argument (permGroup(name, type, parent)).
Last edited by Jor'Mox on Thu Apr 06, 2017 12:52 pm, edited 2 times in total.
Re: permGroup Rewrite
That's awesome. Um... how about pressing the edit button on https://github.com/Mudlet/Mudlet/blob/d ... r.lua#L144 again?
Re: permGroup Rewrite
Done. And I went back through the code to eliminate silliness that was going on (some on my part, though it still worked, and some on the part of the original permGroup function, resulting in it always returning true, even if the group wasn't created).
Re: permGroup Rewrite
Awesome, thanks. Will have a look.