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

ST4life's WelcomeMessage 0.4->Prints WelcomeMSG into Cons


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   General Purpose        Approver:   twistedeuphoria (82)
|BBC|k4n!
Member
Join Date: Oct 2004
Location: Germany
Old 05-30-2005 , 15:09   ST4life's WelcomeMessage 0.4->Prints WelcomeMSG into Cons
Reply With Quote #1

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!
Attached Files
File Type: sma Get Plugin or Get Source (freewelcomemsg.sma - 16074 views - 7.7 KB)
__________________
|BBC|k4n! is offline
Send a message via ICQ to |BBC|k4n!
Proach
Veteran Member
Join Date: Jan 2005
Location: The Netherlands
Old 05-30-2005 , 15:42  
Reply With Quote #2

ty.. nice
screenie ?
__________________

www.psmod.net (the better psychostats)
PAOL
Proach is offline
Send a message via ICQ to Proach
f1del1ty.oXi
Veteran Member
Join Date: Nov 2004
Old 05-30-2005 , 15:47  
Reply With Quote #3

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

...
__________________
f1del1ty.oXi is offline
Belsebub
Senior Member
Join Date: Feb 2005
Location: Sweden
Old 05-30-2005 , 16:13  
Reply With Quote #4

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
Belsebub is offline
|BBC|k4n!
Member
Join Date: Oct 2004
Location: Germany
Old 05-30-2005 , 16:40  
Reply With Quote #5

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

I'll try sth. else...

THX!
__________________
|BBC|k4n! is offline
Send a message via ICQ to |BBC|k4n!
|BBC|k4n!
Member
Join Date: Oct 2004
Location: Germany
Old 05-30-2005 , 16:42  
Reply With Quote #6

reads a bit worse, but now is the name in there
__________________
|BBC|k4n! is offline
Send a message via ICQ to |BBC|k4n!
faluco
Developer
Join Date: Mar 2005
Location: Valencia, Spain
Old 05-30-2005 , 17:07  
Reply With Quote #7

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
faluco is offline
|BBC|k4n!
Member
Join Date: Oct 2004
Location: Germany
Old 05-31-2005 , 08:05  
Reply With Quote #8

THX @ faluco

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

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

HF&GL

Greez

k4n!
__________________
|BBC|k4n! is offline
Send a message via ICQ to |BBC|k4n!
kid741010
Junior Member
Join Date: Feb 2005
Old 05-31-2005 , 09:01  
Reply With Quote #9

someboby will see console ?
or change connecting modules?
kid741010 is offline
|BBC|k4n!
Member
Join Date: Oct 2004
Location: Germany
Old 05-31-2005 , 10:46  
Reply With Quote #10

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!
__________________
|BBC|k4n! is offline
Send a message via ICQ to |BBC|k4n!
Reply


Thread Tools
Display Modes

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 00:35.


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