xeon17 Posted February 25, 2015 Posted February 25, 2015 Is there a way to remove the default MTA login and registration messages?
JR10 Posted February 25, 2015 Posted February 25, 2015 There is no registration message, only login. But no, you can't remove that hard-coded login message.
xeon17 Posted February 25, 2015 Author Posted February 25, 2015 Ok thank you for your fast answer , I guess i'll have to create a new account system
JR10 Posted February 25, 2015 Posted February 25, 2015 A simple message like that shouldn't cause issues. Good luck though.
Addlibs Posted February 26, 2015 Posted February 26, 2015 I once managed to remove them through cancelEvent on onClientChatMessage (client-side) by checking for prefix - eg. addEventHandler("onClientChatMessage", root, function(message) if message:sub(1, 6) == "login:" then cancelEvent() end end ) 1
JR10 Posted February 26, 2015 Posted February 26, 2015 Does onClientChatMessage even trigger for such messages?
Addlibs Posted February 26, 2015 Posted February 26, 2015 This event is triggered when any text is output to chatbox, including MTA's hardcoded messages.
JR10 Posted February 26, 2015 Posted February 26, 2015 I just tested and I guess you're right. Never even noticed that.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now