[FilterScript] AutoMessages
#1

The script sends chat messages, depending on the parameters. See the example:
The example Database Script

Код:
0 = This message is sent when a player connect|connect
1 = This message is sent when a player spawn|spawn
2 = This message is sent every 10 seconds|seconds|10
3 = This message is sent every minute|minutes|1
4 = This message is sent when a player death|death
5 = This message is sent every 1 hour|hours|1


[ID = message|parameter|interval(if it's necessary)]

Parameter's list:

Код:
second - sending a message to the chat every Х seconds
minutes - sending a message to the chat every Х minutes
hours - sending a message to the chat every Х hours
death - sending a message when a Player death
spawn - sending a message when a Player spawn
connect - sending a message when a Player connect
Features:
* Messages loading from .ini file
* Use one timer
* Creating Databases with the pattern in her absence
* Fool-protection: You can not set the wrong values ​​for the messages

Compatibility:

WINDOWS | LINUX
hours: YES | YES
seconds: YES |YES
minutes: YES |YES
spawn: YES |YES
death: YES |Probably not
connect: YES |Probably not

Example of use:

Quote:

0 = {00ff00}Welcome to {ffff00}[SERVERNAME]|connect
1 = {00ff00}Dear players. Visit our website, "siteehample.com"|minutes|4
2 = {00ff00}Good luck on our server|minutes|4
3 = You playing on [SERVERNAME]|hours|1

Author: BRICS
Credits: MX_MASTER (MxINI)

Download: DropBox
Reply
#2

Thank you!
Reply
#3

THANK U VERY NICE
REPED ++
Reply
#4

up !
Reply
#5

Thanks for this. Rep+
Reply
#6

why i will wont to send message every 10 sec thats its clear spamm xD
Reply
#7

Quote:

why i will wont to send message every 10 sec thats its clear spamm xD

PHP код:
This message is sent every 1 seconds|seconds|
it would be better
Reply
#8

nice
Reply
#9

Quote:
Originally Posted by BRICS
Посмотреть сообщение
death: YES |Probably not
connect: YES |Probably not
Why won't this work on linux? Usually this problem is only for plugins.
Reply
#10

Quote:
Originally Posted by Biesmen
Посмотреть сообщение
Why won't this work on linux? Usually this problem is only for plugins.
I tested it on my server that runs on Linux

I use ****** Translator
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)