How To Write Consgreets
Weedkiller1
Join Date: 2002-12-17 Member: 11015Members, Constellation
I've seen a couple of servers with their rules displayed on connection to the server in console. Could someone tell me the commands for this? I've looked around but can't find it. Also what config it should go into for the server. I admit I'm still somewhat of a server noob <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html/emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif'><!--endemo-->
Comments
-This is the URL for the consgreet plugin: <a href='http://www.scriptordie.com/download.php?2' target='_blank'>http://www.scriptordie.com/download.php?2</a>
-You also need the Small language compiler available at the following URL if you want direct plugin support for my version of sr71goku's consgreet plugin: <a href='http://www.compuphase.com/small.htm' target='_blank'>http://www.compuphase.com/small.htm</a>
-My plugin will be available soon, but as I have not found an NS specific cvar to check for yet, I can't really set it up... I will post something else on this thread once I find a cvar that I am looking for.
Here's what the readme says in sr71goku's original consgreet mod:
<!--c1--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->
Put the compiled .amx in your "mod-dir/addons/adminmod/scripts" folder
and the consgreet.txt in your "mod-dir/addons/adminmod/" folder.
Add the line "addons/adminmod/scripts/plugin_sr71goku_consgreet.amx" to
your plugin plugin.ini located in "mod-dir/addons/adminmod/config" folder.
<!--c2--></td></tr></table><span class='postcolor'><!--ec2-->
Good luck with that.
<a href='http://www.unitedadmins.com' target='_blank'>Clanmod</a>
<a href='http://www.amxmod.net' target='_blank'>AMX</a>
<a href='http://www.adminmod.org' target='_blank'>AdminMod</a>
you also get alot of extra goodies with all of these packages =)
Edit it to your liking, then, ./sc welcomemsg.sma
mv welcomemsg.amx ../plugins --- (overwrite: YES or rename the old one to be safe...)