AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved/Old Plugins (https://forums.alliedmods.net/forumdisplay.php?f=27)
-   -   Custom MOTD Commands (https://forums.alliedmods.net/showthread.php?t=51462)

Zenith77 02-18-2007 11:04

Custom MOTD Commands
 
1 Attachment(s)
Custom MOTD Commands
Copyright (c) 2007 Zenith77

Description
This plugin allows server administrators to create their very own MOTD commands for their servers. It can be used to open help files, other info, and web sites; all through simple say commands.

Info
All installation instructions are provided in the .zip package. If you have any (smart) questions, feel free to post them here or PM me.

Everything is in the package.

Screenshots coming soon if CS would stop being gay.

godlike 02-18-2007 11:13

Re: Custom MOTD Commands
 
Very nice gj !

FormulaZero 02-18-2007 11:15

Re: Custom MOTD Commands
 
Nicely done love the idea!

Alka 02-18-2007 11:16

Re: Custom MOTD Commands
 
:shock: ..This is an useful & Great plugin! Gj man:up:

Zenith77 02-18-2007 11:46

Re: Custom MOTD Commands
 
Thank you all for your feedback.

Arkshine 02-18-2007 12:10

Re: Custom MOTD Commands
 
Already exists I think Zenith77 : http://forums.alliedmods.net/showthread.php?t=24092


But nice plugin. :)

Zenith77 02-18-2007 12:14

Re: Custom MOTD Commands
 
Actually that is for say commands, this will open up a MOTD from files/websites.

edit
Damn it it can open up MOTDs. Eh oh well.

Hawk552 02-18-2007 13:54

Re: Custom MOTD Commands
 
Quote:

Originally Posted by arkshine (Post 442059)
Already exists I think Zenith77 : http://forums.alliedmods.net/showthread.php?t=24092


But nice plugin. :)

That has far more functionality, so I think this is redundant, sorry.

Unapproved.

Zenith77 02-18-2007 14:02

Re: Custom MOTD Commands
 
Oh noes my first unapproved plugin (surprisingly). *weeps*

Hawk552 02-18-2007 14:04

Re: Custom MOTD Commands
 
2nd

Zenith77 02-18-2007 14:07

Re: Custom MOTD Commands
 
Oh yea. That one. I still say it shouldn't have been unapproved (even though I made it when I was a lowly noob) :p. Hey let's argue about it.

Zenith77 02-18-2007 14:24

Re: Custom MOTD Commands
 
omg you honky. You win.

Alka 02-22-2007 16:06

Re: Custom MOTD Commands
 
hey zenith :) how can i make the motd's longer? because he let me to write a short text.....!

Code:

#define MAX_STRING 50
#define MAX_BUFFER 100
#define MAX_DIR  200
#define MAX_MOTDS  100

Thanks! ;)

Zenith77 03-01-2007 21:45

Re: Custom MOTD Commands
 
Didn't I already answer this in your PM?

Alka 03-02-2007 06:29

Re: Custom MOTD Commands
 
yes....! problem solved... ;) thanks....

benamo6 10-03-2008 19:49

Re: Custom MOTD Commands
 
It only let me put a short text i need it to be larger.

mut2nt 10-04-2008 03:45

Re: Custom MOTD Commands
 
nice plugin. i like this one better :X:X!
gj

Alucard^ 10-04-2008 12:58

Re: Custom MOTD Commands
 
Quote:

Originally Posted by benamo6 (Post 694675)
It only let me put a short text i need it to be larger.

i think this is not a problem of the plugin, is a problem of html, i dont remember how to do that u can down the motd with scroll mmmm...

danielkza 10-04-2008 14:00

Re: Custom MOTD Commands
 
Quote:

Originally Posted by Alucard^ (Post 694990)
i think this is not a problem of the plugin, is a problem of html, i dont remember how to do that u can down the motd with scroll mmmm...

You can use an IFrame and the IE original scrollbar will appear, and work.

And as far as I know there's a limitation of about 1300-1500 characters for MOTD. This is an HL issue, not AMXX or plugin's.

ConnorMcLeod 10-05-2008 03:06

Re: Custom MOTD Commands
 
1500 and some bananas (1560 ?)
You can display a larger motd using metarefresh.

benamo6 10-05-2008 14:09

Re: Custom MOTD Commands
 
1 Attachment(s)
Im using this html. I put it in .ini because this doesnt allow me to upload .html.
This is an image of how you see it on motd.
[IMG]http://img379.**************/img379/2774/motdaz2.jpg[/IMG]

Alucard^ 10-06-2008 06:38

Re: Custom MOTD Commands
 
but, what is the problem on this motd? ><

oh, and connor, what is metarefresh? o.o

edit: oh yea... http://en.wikipedia.org/wiki/Meta_refresh

benamo6 10-06-2008 08:19

Re: Custom MOTD Commands
 
Alucard download my motd and see wath is the problem is more larger.
Is it possible to add 2 motds? like
/help and /binds
somthing like that?

vikassharma 03-01-2013 12:50

Re: Custom MOTD Commands
 
Why my html code not working please help??

PHP Code:

<html>

<
style type="text/css">
body
{
background-color:#000000;
background-position:top center;
background-image:url([url]http://i75.photobucket.com/albums/i310/X-olent/motd_background.png);[/url]
background-attachment:fixed;
background-repeat:repeat-x;
}
</
style>

<
body>
<
div align="center">
<
font face="Arial" size="6" color="#cccccc">Nightcrawler Extended v5.0<b><br>
</
b></font>
<
font face="Arial" size="4" color="#999999"><b>


<
br>
<
br>
<
br>
<
font face="Arial" size="6" color="#999999"><b>
Introduction :-
</
b></font>


<
br>
<
font face="Arial" size="4" color="#999999"><b>
</
b></font>
<
br>
<
font face="Arial" size="3" color="#FFFFFF"><b>
Nightcrawler Mod is the modification for counter-strike.


<
br>
<
font face="Arial" size="4" color="#999999"><b>
</
b></font>
<
br>
<
font face="Arial" size="3" color="#FFFFFF"><b>
In this mod there is 2 teamTerrorists are Nightcrawlers and CT's are human

</b></font>


<br>
<br>
<br>
<font face="Arial" size="6" color="#999999"><b>
Objective :-
</b></font>

<br>
<font face="Arial" size="4" color="#999999"><b>
</b></font>
<br>
<font face="Arial" size="3" color="#FFFFFF"><b>
Terrorists/Nightcrawlers have to kill all the humans

<br>
<font face="Arial" size="4" color="#999999"><b>
</b></font>
<br>
<font face="Arial" size="3" color="#FFFFFF"><b>
Human has to survive themselves from being killed by the nightcrawlers



</b></font>

<br>
<br>
<br>
<font face="Arial" size="6" color="#999999"><b>
Powers :-
</b></font>
<br>
<font face="Arial" size="2" color="#FFFFFF"><b>
</b></font>

<br>
<font face="Arial" size="4" color="#999999"><b>
</b></font>
<br>
<font face="Arial" size="3" color="#FFFFFF"><b>
Nightcralwers Powers :-

<br>
<font face="Arial" size="4" color="#999999"><b>
</b></font>
<br>
<font face="Arial" size="2" color="#FFFFFF"><b>
1.) They can be teleport 3 time by pressing F (flashlight key)

<br>
<font face="Arial" size="4" color="#999999"><b>
</b></font>
<br>
<font face="Arial" size="2" color="#FFFFFF"><b>
2.) Then have low gravity

<br>
<font face="Arial" size="4" color="#999999"><b>
</b></font>
<br>
<font face="Arial" size="2" color="#FFFFFF"><b>
3.) They are invisble

<br>
<font face="Arial" size="4" color="#999999"><b>
</b></font>
<br>
<font face="Arial" size="2" color="#FFFFFF"><b>
4.) Then can climb on walls by pressing F (flashlight key)


<br>
<br>
<font face="Arial" size="4" color="#999999"><b>
</b></font>
<br>
<font face="Arial" size="3" color="#FFFFFF"><b>
Humans Powers :-
</b></font>

<br>
<font face="Arial" size="4" color="#999999"><b>
</b></font>
<br>
<font face="Arial" size="2" color="#FFFFFF"><b>
1.) Humans has the guns 

<br>
<font face="Arial" size="4" color="#999999"><b>
</b></font>
<br>
<font face="Arial" size="2" color="#FFFFFF"><b>
2.) Humans can choose item 


<br>
<br>
<br>
<font face="Arial" size="6" color="#999999"><b>
Upgrade System :-
</b></font>

<br>
<font face="Arial" size="4" color="#999999"><b>
</b></font>
<br>
<font face="Arial" size="2" color="#FFFFFF"><b>
There is extra feature for both nightcrawlers and humans.

<br>
<font face="Arial" size="4" color="#999999"><b>
</b></font>
<br>
<font face="Arial" size="2" color="#FFFFFF"><b>
when any nc'
or humans survive the round or kill they will revieve point and these point will use in upgrade themselves


<br>
<
font face="Arial" size="4" color="#999999"><b>
</
b></font>
<
br>
<
font face="Arial" size="3" color="#FFFFFF"><b>
Upgrade Contains :-

<
br>
<
font face="Arial" size="4" color="#999999"><b>
</
b></font>
<
br>
<
font face="Arial" size="3" color="#FFFFFF"><b>
Speed extra health etc

<br>
<
font face="Arial" size="4" color="#999999"><b>
</
b></font>
<
br>
<
font face="Arial" size="3" color="#FFFFFF"><b>
In order to use upgrade players must have to type /upgrade in chat




</div>
</
body>
</
html

It working on browser but not on plugin
it showing me cstrike/addons/amxmodx/customMotss/filename.html

endlessx 11-16-2023 12:32

Re: Custom MOTD Commands
 
how can i add a image in motd?

Siska1 11-17-2023 04:44

Re: Custom MOTD Commands
 
PHP Code:

<html>
<
body scrool="no" topmargin="0" leftmargin="0" style="background:#131313">
<
img src="link" width=100height=100%>
</
body>
</
html


mlibre 11-17-2023 16:12

Re: Custom MOTD Commands
 
use the tags [php]</>[/php] thanks :bee:

IC3k1ng 12-20-2023 10:43

Re: Custom MOTD Commands
 
@mlibre IMG property doesn't require of that tag to close it on the code. It's just closes like that as how he did it.

Quote:

Originally Posted by Siska1 (Post 2813086)
PHP Code:

<html>
<
body scrool="no" topmargin="0" leftmargin="0" style="background:#131313">
<
img src="link" width=100height=100%>
</
body>
</
html


Note: don't forget about the file format at the end!! (.png, .jpg, .gif, etc)


All times are GMT -4. The time now is 13:34.

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