orsino Posted December 5, 2013 Share Posted December 5, 2013 I tested the ban user today it works good but banned players are still able to post on chat (bad for spammers ) is there a way to force a logout on them ? aslo dont think the outo log out works Quote Link to comment Share on other sites More sharing options...
KyleMassacre Posted December 6, 2013 Share Posted December 6, 2013 this would probably be something alain would have to look at. I think it may be because the chat runs kind of along side the the content of the pages (if that makes sense). For now you just maybe able to add towards the top of the chat something like: if (GetUserVariable(playerBan) == "true") return; And that should kill the chat. Maybe Alain can update it some how and while he is at it, enable the "to_user" *hint-hint* :p Quote Link to comment Share on other sites More sharing options...
a_bertrand Posted December 6, 2013 Share Posted December 6, 2013 Ok if I have time today I will have it a run. Otherwise it will have to wait till next week. Quote Link to comment Share on other sites More sharing options...
a_bertrand Posted December 6, 2013 Share Posted December 6, 2013 Ok the chat module have been updated, the ban should now block sending / receiving messages, the online list refreshes (it wasn't), and you can now whisper to somebody by doing /msg <username> <your message> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.