xeon17 Posted February 25, 2015 Share Posted February 25, 2015 Is there a way to remove the default MTA login and registration messages? Link to comment
JR10 Posted February 25, 2015 Share Posted February 25, 2015 There is no registration message, only login. But no, you can't remove that hard-coded login message. Link to comment
xeon17 Posted February 25, 2015 Author Share Posted February 25, 2015 Ok thank you for your fast answer , I guess i'll have to create a new account system Link to comment
JR10 Posted February 25, 2015 Share Posted February 25, 2015 A simple message like that shouldn't cause issues. Good luck though. Link to comment
Addlibs Posted February 26, 2015 Share 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 Link to comment
JR10 Posted February 26, 2015 Share Posted February 26, 2015 Does onClientChatMessage even trigger for such messages? Link to comment
Addlibs Posted February 26, 2015 Share Posted February 26, 2015 This event is triggered when any text is output to chatbox, including MTA's hardcoded messages. Link to comment
JR10 Posted February 26, 2015 Share Posted February 26, 2015 I just tested and I guess you're right. Never even noticed that. Link to comment
xeon17 Posted February 26, 2015 Author Share Posted February 26, 2015 Good to hear it , i'll test it soon. Link to comment
xeon17 Posted February 26, 2015 Author Share Posted February 26, 2015 @MrTasty Thank you Link to comment
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