Dinkleberg's GMod

Full Version: Add a hook for !pm potentially?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am still used to SAM so I do !pm instead of !p sometimes and it stinks lol.

If memory serves correct there is a way to update the chat module on ULX so it will accept two.
+1 I want to ghost with both !pm and !p
you can pass multiple strings into the constructor that makes a ulx command to have multiple chat commands tie to one

in chat.lua
local psay = ulx.command( CATEGORY_NAME, "ulx psay", ulx.psay, {"!p", "!pm"}, true )

now that I have provided a solution you can expect to wait 6-12 months for it to be implemented
timed mutes and gags
(02-27-2025, 04:16 PM)RussEfarmer Wrote: [ -> ]you can pass multiple strings into the constructor that makes a ulx command to have multiple chat commands tie to one

in chat.lua
local psay = ulx.command( CATEGORY_NAME, "ulx psay", ulx.psay, {"!p", "!pm"}, true )

now that I have provided a solution you can expect to wait 6-12 months for it to be implemented
Shit bro. I use SAM and I don't even have the ability to do that. I just gave up and ended up adding a clone command.
[Image: tXXrATC.png]