| Blockland Forums > Suggestions & Requests |
| Server-wide Center and Bottom Print Messages via a Command? |
| (1/5) > >> |
| QuadStorm:
Can somebody make a mod that allows a admin or above to be able to easy send out a server wide message via a center print or a bottom print using a command? Example: /mc (a command sending out a center print to everyone.) A admin saying /mc Hello everyone! would send a center print to everyone in the server saying "Hello everyone!" A similar event would occur using a command that sent out a bottom print. |
| DYLANzzz:
Give me a quick sec --- Quote from: DYLANzzz on October 12, 2013, 08:47:54 PM ---"Bottom and centerprint functionality for admins /acp for admin center print /abp for admin bottom print" Here you go, just click the link below Here is the thingy --- End quote --- |
| Zeblote:
--- Quote from: DYLANzzz on October 12, 2013, 08:31:25 PM ---Give me a quick sec --- End quote --- sec is long over... where's the script? |
| DYLANzzz:
--- Quote from: Zeblote on October 12, 2013, 08:33:24 PM ---sec is long over... where's the script? --- End quote --- We're running on valve time here... (Im testing the script cause I dont want to deliver some random piece of crap that may or may not work) |
| Subpixel:
If someone wants to package/test it, be my guest. No point in testing since it's the most simple thing since sliced bread. --- Code: ---function serverCmdMC(%this, %a1, %a2, %a3, %a4, %a5, %a6, %a7, %a8, %a9, %a10, %a11, %a12, %a13, %a14, %a15, %a16, %a17, %a18, %a19, %a20) { if(!%this.isAdmin) { messageClient('', %this, "You are not admin."); return; } if(%a1 $= "") { messageClient('', %this, "Usage : /mc [text]"); return; } for(%i = 1; %i < 21; %i++) { %word = %a[%i]; if(%word !$= "") { if(%string $= "") { %string = %word; } else { %string = %string SPC %word; } } } bottomPrintAll("\c6" @ %string, 5); messageAll('', "\c6" @ %string); } --- End code --- |
| Navigation |
| Message Index |
| Next page |