AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   About MOTD system (https://forums.alliedmods.net/showthread.php?t=244955)

EpicKiller 07-26-2014 07:51

About MOTD system
 
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!

HamletEagle 07-26-2014 08:21

Re: About MOTD system
 
motd_write doesn't work since last cs 1.6 update. Are you using dproto?

EpicKiller 07-26-2014 08:33

Re: About MOTD system
 
Yes, I am.

simanovich 07-26-2014 10:07

Re: About MOTD system
 
Quote:

Originally Posted by EpicKiller (Post 2174123)
Yes, I am.

No Steam = No Support.

Read the rules

Eagle07 07-26-2014 13:06

Re: About MOTD system
 
No steam = No Support
--
https://forums.alliedmods.net/misc.php?do=showrules

EpicKiller 07-26-2014 16:50

Re: About MOTD system
 
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!


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

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