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

Custom Say Commands


Post New Thread Reply   
 
Thread Tools Display Modes
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 06-10-2008 , 15:42   Re: Custom Say Commands
Reply With Quote #101

Quote:
Originally Posted by micke1101 View Post
huh I was talking about this 1
yes. if you make the blah.txt and you setup the .ini like this:
Code:
]/rules
exact
don't show
motd
blah.txt
don't log
and type /rules a custom MOTD with red bground and white text and formatting will show up.
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
micke1101
Veteran Member
Join Date: Jan 2008
Location: Banned-town
Old 06-10-2008 , 15:46   Re: Custom Say Commands
Reply With Quote #102

Then i think i understand.
but can you list those commands here i just can the bbcodes
and %name dosent work though that way

Last edited by micke1101; 06-11-2008 at 09:20.
micke1101 is offline
micke1101
Veteran Member
Join Date: Jan 2008
Location: Banned-town
Old 06-12-2008 , 13:17   Re: Custom Say Commands
Reply With Quote #103

The %name and that dosent work through blah.txt
micke1101 is offline
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 06-12-2008 , 13:19   Re: Custom Say Commands
Reply With Quote #104

no you would need to use GET variables to make that work (like explained in some previous post about PHP files)
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
micke1101
Veteran Member
Join Date: Jan 2008
Location: Banned-town
Old 06-13-2008 , 06:49   Re: Custom Say Commands
Reply With Quote #105

i cant see that (searched for php, variable in this thread)
micke1101 is offline
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 06-13-2008 , 15:21   Re: Custom Say Commands
Reply With Quote #106

maybe it was over PM i don't recall. pretty much the answer was
Code:
]/rules
exact
don't show
motd
http://www.serverwithphpinstalled.com/blah.php?username=%name
don't log
blah.php
PHP Code:
<?php
echo $_GET['username'] . " Please do not blah";
?>
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
Old 06-13-2008, 16:15
micke1101
This message has been deleted by micke1101.
micke1101
Veteran Member
Join Date: Jan 2008
Location: Banned-town
Old 06-15-2008 , 04:20   Re: Custom Say Commands
Reply With Quote #107

Code:
[ b] = <b>
[ /b] = </b>
[ i] = <i>
[ /i] = </i>
[ u] = <u>
[ /u] = </u>
[ color=darkred] = <font color=darkred>
[ color=red] = <font color=red>
[ color=pink] = <font color=pink>
[ color=orange] = <font color=orange>
[ color=brown] = <font color=brown>
[ color=yellow] = <font color=yellow>
[ color=green] = <font color=green>
[ color=olive] = <font color=olive>
[ color=cyan] = <font color=cyan>
[ color=darkblue] = <font color=navy>
[ color=navy] = <font color=navy>
[ color=blue] = <font color=blue>
[ color=indigo] = <font color=indigo>
[ color=violet] = <font color=violet>
[ color=white] = <font color=white>
[ color=black] = <font color=black>
[ img] = <img src=
while(contain(read,"[/img]")!=-1) replace(read,999,"[/img]","^" border=0>")
[ url= = <a href=
[ /url] = </a>
while(contain(read,"))]")!=-1) replace(read,999,"))]","^">")
[ /color] = </font>
[ /size] = </font>
[ center] = <center>
[ /center] = </center>
[ right] = <p align=right>
[ /right] = </p>
[ justify] = <p align=justify>
[ /justify] = </p>
i checked your bbcode and here is what i think is right but the red marked idk can you fill in what those should be?

Last edited by micke1101; 06-15-2008 at 04:23.
micke1101 is offline
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 06-15-2008 , 13:55   Re: Custom Say Commands
Reply With Quote #108

fill in what what should be? It's HTML code. google it. It's the easiest thing to learn, my mother knows it because she uses it when she makes ebay posts thats how common it is.
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
micke1101
Veteran Member
Join Date: Jan 2008
Location: Banned-town
Old 06-15-2008 , 14:03   Re: Custom Say Commands
Reply With Quote #109

Code:
while(contain(read,"))]")!=-1) replace(read,999,"))]","^">")
while(contain(read,"[/img]")!=-1) replace(read,999,"[/img]","^" border=0>")
Code:
[ /img] = border=0>
))] = >
?
micke1101 is offline
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 06-15-2008 , 14:04   Re: Custom Say Commands
Reply With Quote #110

ye
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
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 17:43.


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