General > Developers Corner
Removing the ULX MOTD?
Megiddo:
--- Quote from: xXBryanXx on January 18, 2014, 12:31:27 PM ---To my custom MOTD? The command is already added to that.
--- End quote ---
How? Share the code.
xXBryanXx:
--- Quote from: Megiddo on January 18, 2014, 03:17:28 PM ---How? Share the code.
--- End quote ---
I purchased the MOTD from someone else. I have the code, but changing the command is in a config file which then links to another file which puts it into effect. I can show you the code for the config file, if that would be of any use.
It seems to me, that ulx still is trying to use the ULX motd, and doesn't let anything else use the !motd command.
Megiddo:
--- Quote from: xXBryanXx on January 18, 2014, 06:12:38 PM ---I purchased the MOTD from someone else. I have the code, but changing the command is in a config file which then links to another file which puts it into effect. I can show you the code for the config file, if that would be of any use.
It seems to me, that ulx still is trying to use the ULX motd, and doesn't let anything else use the !motd command.
--- End quote ---
No. It sounds like you're simply not registering it as a command.
xXBryanXx:
--- Quote from: Megiddo on January 18, 2014, 10:15:07 PM ---No. It sounds like you're simply not registering it as a command.
--- End quote ---
I change the command to something else such as !motdu and it works. !motd does not work.
Megiddo:
The command is registered in ulx/modules/sh/menus.lua, but it's only registered if the motdmenu.lua exists.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version