AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   ST4life's WelcomeMessage 0.4->Prints WelcomeMSG into Cons (https://forums.alliedmods.net/showthread.php?t=13824)

|BBC|k4n! 05-30-2005 15:09

ST4life's WelcomeMessage 0.4->Prints WelcomeMSG into Cons
 
1 Attachment(s)
This Plugin prints a defined Welcome Message into the clients console, while connecting.

Originally Coded by ST4life for AMX Mod

I just ported it for AMX Mod X 1.01
I ported it because of xeenon's request ( ;) )
------------------------------------------

You can make the message by yourself!
You just have to create a freewelcomemsg.txt in the addons/amxmodx/configs folder.

Here are a few Variables:
Code:

/*
Here are some things you can add, like the name of your server, next map etc.

$authid$ = Users authid
$c4timer$ = C4 timer
$ff$ = Firendly Fire on or off
$hostname$ = Servername
$ip$ = Users IP
$loggedin$ = Users privilegs
$mapname$ = current played map
$modamxmod$ = Version of AMX Mod
$modstatsme$ = Version of StatsMe
$modclanmod$ = Version of ClanMod
$modadminmod$ = Version of AdminMod
$modchicken$ = Version of ChickenMod
$modcsguard$ = Version of CSGuard
$modhlguard$ = Version of HLGuard
$modplbot$ = Version of PLBot
$modhlbooster$ = Version of HL-Booster
$modaxn$ = Version of AXN
$modbmx$ = Version of BMX
$modatac$ = Version of ATAC
$modwc3$ = Version of WarCraft 3 XP
$modcdeath$ = Version of Cheating-Death + required/optional
$nextmap$ = next map
$playernum$ = current number of players
$playermax$ = max. number of players
$time$ = current server time
$timeleft$ = time remaining
$timelimit$ = time limit
$username$ = name of connecting player
*/

Here is an example for a Welcome Message (in German):
Code:

WILLKOMMEN im $A$-Schlachthaus!
    ,___________.              , .
    (___  ______|#~      (>)(>)o#´.*.{:.
===== /  /&/=============ooo==(__)==ooo==========================-.
==  /___/                                    by NewHope 
=)=-                                                     
=)=-  Hallo $username$, willkommen auf unserem Server! 
=)=-                                                     
=)=-.-===)INFORMATIONEN(===========================================-.
=)=-
=)=-  Spieler: $playernum$ von $playermax$
=)=-  Aktuelle Map: $mapname$
=)=-  Verbleibende Zeit: $timeleft$
=)=-  Friendly Fire: $ff$
=)=-
=)=-  Befehle:
=)=-  hp - Informationen über deinen Killer anzeigen
=)=-  status - um Serverinformationen zu erhalten
=)=-  mystatus - Informationen ueber dich, wie z.b. den Rank
=)=-
=)=-.-===)REGELN(==================================================-.
=)=-
=)=-  - Kein Spammen
=)=-  - Keine TKs
=)=-  - Kein extremes Campen
=)=-  - Keine Beleidigungen
=)=-
=)=-  Dies koennen Kickgründe sein!
=)=-
=)=-.-=============================================================-.
 
Bitte besucht uns auch mal auf www.cs-sas.de und idlet bei
#mysas @ Quakenet! DANKE!

Happy Fragging!

New Version (0.6)!!! Problem with the warning while compiling fixed!

Proach 05-30-2005 15:42

ty.. nice
screenie ? :)

f1del1ty.oXi 05-30-2005 15:47

For what? It goes in your console after you've connected, and he gave you an example of it.

...

Belsebub 05-30-2005 16:13

from the sticky:

- If you didn't write the plugin: put the name of the author to the topic and to the post.

so you might wanna change the topic name to

WelcomeMessage 0.4 (ST4life) -> Prints a WelcomeMSG into Console

or something

|BBC|k4n! 05-30-2005 16:40

Oh I did it, but I think there wasn't space anymore.

I'll try sth. else...

THX!

|BBC|k4n! 05-30-2005 16:42

reads a bit worse, but now is the name in there :)

faluco 05-30-2005 17:07

About the warning i have searched in the forum and the reason is that the variable time is also a native in core.inc. You only have to change the name of the variable to another thing (ie mytime )and it will stop warning, i have done it and its OK

|BBC|k4n! 05-31-2005 08:05

THX @ faluco :)

I thought sth. in this diretion but I have still to much respect for Small ^^ :lol:

I just changed it to "thetime" and there is now no Problem anymore.

HF&GL :lol:

Greez

k4n!

kid741010 05-31-2005 09:01

someboby will see console ?
or change connecting modules?

|BBC|k4n! 05-31-2005 10:46

No, it's very simple.

If you connect to the server, he prints also a custom Message by you.

If you have VAC on, he will also print "VAC is enabled..."
The Console don't open automaticly.

Greez

k4n!


All times are GMT -4. The time now is 19:58.

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