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

Source Engine support for '/me'


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Mad_Dugan
Member
Join Date: Feb 2009
Plugin ID:
863
Plugin Version:
Plugin Category:
All
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Old 05-03-2009 , 17:02   Source Engine support for '/me'
    Reply With Quote #1

    What does it do?
    Allows players to invoke virtual actions similar to IRC usage.

    How do I use it?
    Players type '/me <text>' and it show up in chat as '<player name> <text>'

    E.g.
    Entering '/me waves to everyone' will display 'Mad_Dugan waves to everyone'

    Tested on TF2 & L4D

    Change log
    1.0 - 5/3/09
    -Initial release

    1.0.1 - 5/5/09
    -Changed string output to be more inline with IRC 'standard'
    Attached Files
    File Type: sp Get Plugin or Get Source (sm_me.sp - 1438 views - 964 Bytes)

    Last edited by Mad_Dugan; 05-05-2009 at 15:23.
    Mad_Dugan is offline
    DontWannaName
    Veteran Member
    Join Date: Jun 2007
    Location: VALVe Land, WA
    Old 05-03-2009 , 17:12   Re: Source Engine support for '/me'
    Reply With Quote #2

    This already has this feature, with color. I dont think you need to include so many extensions.

    http://forums.alliedmods.net/showthread.php?p=665771
    __________________

    DontWannaName is offline
    Mad_Dugan
    Member
    Join Date: Feb 2009
    Old 05-03-2009 , 17:15   Re: Source Engine support for '/me'
    Reply With Quote #3

    Quote:
    Originally Posted by DontWannaName View Post
    This already has this feature, with color. I dont think you need to include so many extensions.

    http://forums.alliedmods.net/showthread.php?p=665771

    Thanks, I did not see that.
    Mad_Dugan is offline
    Tipsy Snake
    Junior Member
    Join Date: May 2009
    Location: Belarus
    Old 05-04-2009 , 10:10   Re: Source Engine support for '/me'
    Reply With Quote #4

    Mad_Dugan
    Thanks for good idea! I've just tested it on CSS, works perfectly, but I think it's necessary to add team coloring, also you have extra space in front of message and "\x03" at the end. For what?
    You should correct this or may be I do so.

    DontWannaName
    This plugin is exactly what I need and I don't need all the stuff the plugin in your link contains. So I installed this!
    Tipsy Snake is offline
    Mad_Dugan
    Member
    Join Date: Feb 2009
    Old 05-04-2009 , 16:19   Re: Source Engine support for '/me'
    Reply With Quote #5

    Quote:
    Originally Posted by Tipsy Snake View Post
    Mad_Dugan
    Thanks for good idea! I've just tested it on CSS, works perfectly, but I think it's necessary to add team coloring, also you have extra space in front of message and "\x03" at the end. For what?
    You should correct this or may be I do so.

    DontWannaName
    This plugin is exactly what I need and I don't need all the stuff the plugin in your link contains. So I installed this!
    Thanks for your feedback! I haven't played CSS in ages, so I am not sure the team coloring expectation, and how it is handled by each source game might be different.

    The extra space was to simulate the IRC convention "* Mad_Dugan waves" without the '*'.

    In hindsight, adding the '*', might be better.
    Mad_Dugan is offline
    knoid
    Junior Member
    Join Date: Mar 2006
    Old 05-05-2009 , 04:44   Re: Source Engine support for '/me'
    Reply With Quote #6

    Good stuff, useful to have it without all the other commands from 'funcommandsx'.

    Team colour conventions in CS and TF2 are similar - blue for CT, red for T.
    __________________
    knoid || Admin, joe.to gaming community
    tf2.joe.to - challenge maps
    tf4.joe.to - custom maps
    knoid is offline
    Tipsy Snake
    Junior Member
    Join Date: May 2009
    Location: Belarus
    Old 05-05-2009 , 06:16   Re: Source Engine support for '/me'
    Reply With Quote #7

    Mad_Dugan
    yeah, you are right! '*' is much better. And now I think team coloring is unnecessary here. So the best for me is:
    Code:
    PrintToChatAll("* %s %s", name, string);
    Tipsy Snake is offline
    Mad_Dugan
    Member
    Join Date: Feb 2009
    Old 05-05-2009 , 15:23   Re: Source Engine support for '/me'
    Reply With Quote #8

    Quote:
    Originally Posted by Tipsy Snake View Post
    Mad_Dugan
    yeah, you are right! '*' is much better. And now I think team coloring is unnecessary here. So the best for me is:
    Code:
    PrintToChatAll("* %s %s", name, string);
    Thanks. I updated the code to that format.
    Mad_Dugan is offline
    MJCS
    Junior Member
    Join Date: Feb 2009
    Old 05-09-2009 , 18:28   Re: Source Engine support for '/me'
    Reply With Quote #9

    Quote:
    Originally Posted by DontWannaName View Post
    This already has this feature, with color. I dont think you need to include so many extensions.

    http://forums.alliedmods.net/showthread.php?p=665771
    True but it is nice to load if you do not want all those other features.
    MJCS is offline
    DontWannaName
    Veteran Member
    Join Date: Jun 2007
    Location: VALVe Land, WA
    Old 05-09-2009 , 23:39   Re: Source Engine support for '/me'
    Reply With Quote #10

    Well You could just take the code from that plugin since its a bunch of seperate plugins compiled into one so it would take 5 seconds, 1 to copy the code, 2 to paste the code, 3 to take out maybe 2 lines, 4 to compile and 5 to put on your server.
    __________________

    DontWannaName is offline
    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 10:42.


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