Motd/tsay Plugin
Mayhem
Join Date: 2002-11-28 Member: 10128Members
<div class="IPBDescription">By Mayhem</div> Hey guys,
I wrote a small script that allows TSAY style messages in NS. I threw together a couple more functions today which allow MOTD to be displayed in similar text. There are some limitations: First this uses menu's to create the text, which means each line is limted to 40 characters. Simply add ^n or # to any string that you pass into admin_msay to create a new line. Users can enter 1-4 to remove the text earlier than the specified time. When using # symbols the script only allows 4 lines of text. This can be avoided by using ^n. Other than that I think its rather useful. MOTD includes a variable for ON/OFF, Repeat ON/OFF, and Repeat interval (seconds). You do need to edit the .sma to make it output the string you want for MOTD. I have started the MOTD OFF by default so anyone wanting to use this JUST for TSAY is more than welcome. Instructions for editing the variables and compiling the script are in the readme.txt. You do need to add a line to server.cfg or adminmod.cfg: amv_enable_beta "menu1". MOTD May contain a few bugs I haven't had a chance to "fully" test it.
Edit: Plugin now only accepts option 5 to remove the display.
Well thats it I hope this is useful.....
Dave@TradedAddictions.com for comments/problems/suggestions
Look for Ready Room Idle Kick, Map Nomination, and Ungorge sometime this week
I wrote a small script that allows TSAY style messages in NS. I threw together a couple more functions today which allow MOTD to be displayed in similar text. There are some limitations: First this uses menu's to create the text, which means each line is limted to 40 characters. Simply add ^n or # to any string that you pass into admin_msay to create a new line. Users can enter 1-4 to remove the text earlier than the specified time. When using # symbols the script only allows 4 lines of text. This can be avoided by using ^n. Other than that I think its rather useful. MOTD includes a variable for ON/OFF, Repeat ON/OFF, and Repeat interval (seconds). You do need to edit the .sma to make it output the string you want for MOTD. I have started the MOTD OFF by default so anyone wanting to use this JUST for TSAY is more than welcome. Instructions for editing the variables and compiling the script are in the readme.txt. You do need to add a line to server.cfg or adminmod.cfg: amv_enable_beta "menu1". MOTD May contain a few bugs I haven't had a chance to "fully" test it.
Edit: Plugin now only accepts option 5 to remove the display.
Well thats it I hope this is useful.....
Dave@TradedAddictions.com for comments/problems/suggestions
Look for Ready Room Idle Kick, Map Nomination, and Ungorge sometime this week
Comments