Raised This Month: $ Target: $400
 0% 

About MOTD system


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
EpicKiller
Senior Member
Join Date: Jun 2014
Location: Constanta, Romania
Old 07-26-2014 , 07:51   About MOTD system
Reply With Quote #1

Hey there. I got a few questions about the MOTD system.

Using motd_write will add that specific text to a file or will replace everything in that file with that text? And what if the specified file does not exist? Can the MOTD system create it or not?

Can I specify a file on the server in the motd_write function? If yes, how could I?

If it cannot create a new file, how could I have it created for the specific player?

What I intend to do is to have a command for getting rid of hackers. Which I have already coded. But I wish it to create a file, something like destroyed.txt, which will contain all the comand details, that the player could post on the forum.


Thank you, folks!
EpicKiller is offline
Send a message via Yahoo to EpicKiller Send a message via Skype™ to EpicKiller
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 07-26-2014 , 08:21   Re: About MOTD system
Reply With Quote #2

motd_write doesn't work since last cs 1.6 update. Are you using dproto?

Last edited by HamletEagle; 07-26-2014 at 08:21.
HamletEagle is offline
EpicKiller
Senior Member
Join Date: Jun 2014
Location: Constanta, Romania
Old 07-26-2014 , 08:33   Re: About MOTD system
Reply With Quote #3

Yes, I am.
EpicKiller is offline
Send a message via Yahoo to EpicKiller Send a message via Skype™ to EpicKiller
simanovich
AlliedModders Donor
Join Date: Jun 2012
Location: Israel
Old 07-26-2014 , 10:07   Re: About MOTD system
Reply With Quote #4

Quote:
Originally Posted by EpicKiller View Post
Yes, I am.
No Steam = No Support.

Read the rules
__________________
simanovich is offline
Eagle07
Veteran Member
Join Date: May 2014
Location: Morocco :D
Old 07-26-2014 , 13:06   Re: About MOTD system
Reply With Quote #5

No steam = No Support
--
https://forums.alliedmods.net/misc.php?do=showrules
__________________
Eagle07 is offline
EpicKiller
Senior Member
Join Date: Jun 2014
Location: Constanta, Romania
Old 07-26-2014 , 16:50   Re: About MOTD system
Reply With Quote #6

Ok. I will have dproto removed from my server. However, you said that motd_write is no longer usable after the last update. Considering that, I guess this was it with this thread.

Thank you everyone!
EpicKiller is offline
Send a message via Yahoo to EpicKiller Send a message via Skype™ to EpicKiller
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 13:19.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode