Raised This Month: $51 Target: $400
 12% 

Motd Manager


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Admin Commands       
Decak
Senior Member
Join Date: Sep 2012
Old 03-03-2018 , 11:04   Motd Manager
Reply With Quote #1

Motd Manager v1

Description:

Very simple plugin which allows you to open your motd files with specific say(*_team*) commands. All motd files must be in .../configs/MotdManager/ folder.

Usage: Open manager.ini placed in MotdManager folder, and enter command that players should write and motd who is going to open.
Example: "/wantvip" "vip_price.txt" (note that vip_price.txt must be placed in configs/MotdManager folder. )

This plugin has no admin commands or cvars. Maximum motd files/commands you can add is 100.

Changelog:
- Version 1.0 released
Attached Files
File Type: sma Get Plugin or Get Source (MotdManager.sma - 849 views - 1.5 KB)

Last edited by Decak; 03-03-2018 at 11:07.
Decak is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 03-03-2018 , 12:49   Re: Motd Manager
Reply With Quote #2

Already made - https://forums.alliedmods.net/showthread.php?t=297627
Definitely not better, yours is very badly coded and more limited in features.
__________________

Last edited by OciXCrom; 03-03-2018 at 12:49.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Decak
Senior Member
Join Date: Sep 2012
Old 03-03-2018 , 12:59   Re: Motd Manager
Reply With Quote #3

Hmm, didnt saw it.

Mine is just simplest, and older too. It's reworked version from 2015(you can find it on forum).
Badly worked? Your is better just because you use Trie?
Decak is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 03-03-2018 , 15:51   Re: Motd Manager
Reply With Quote #4

It's better because it's made like it should.

Code:
new Motd[2][101][50]

There's no need to use something like this when there are tries and arrays. Also, the brackets in the code are totally messed up - the code can't be read without struggling quite a bit. There's also a warning when compiling.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
1xAero
Member
Join Date: Feb 2018
Location: Sakha, Russia
Old 03-03-2018 , 16:54   Re: Motd Manager
Reply With Quote #5

feels like it's coded in Windows notepad xD
1xAero is offline
Decak
Senior Member
Join Date: Sep 2012
Old 03-03-2018 , 19:38   Re: Motd Manager
Reply With Quote #6

Quote:
Originally Posted by OciXCrom View Post
There's no need to use something like this when there are tries and arrays.
That is array. Please learn pawn basics first, before posting reply.
Decak is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 03-03-2018 , 21:40   Re: Motd Manager
Reply With Quote #7

Quote:
Originally Posted by Decak View Post
That is array. Please learn pawn basics first, before posting reply.
He meant to say "dynamic array", you are using a static array.
__________________
fysiks is offline
Syturi0
Veteran Member
Join Date: Aug 2014
Location: Your mom house -Portugal
Old 03-04-2018 , 05:14   Re: Motd Manager
Reply With Quote #8

There are already so many MOTD's Managers...
Syturi0 is offline
D3XT3R
AlliedModders Donor
Join Date: Nov 2016
Location: Lithuania, Bomb A (Kauna
Old 03-09-2018 , 16:19   Re: Motd Manager
Reply With Quote #9

i like this one simple better then dificult of ocxicxorm
__________________
D3XT3R is offline
Send a message via Skype™ to D3XT3R
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 03-09-2018 , 17:28   Re: Motd Manager
Reply With Quote #10

Quote:
Originally Posted by D3XT3R View Post
i like this one simple better then dificult of ocxicxorm
And then you realize that both work the same way.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
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 08:57.


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