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

Basic Chat (sm_say, sm_chat, sm_csay, etc)


Post New Thread Closed Thread   
 
Thread Tools Display Modes
ferret
SourceMod Developer
Join Date: Dec 2004
Location: Atlanta, GA
Old 06-30-2007 , 10:16   Re: Basic Chat (sm_say, sm_chat, sm_csay, etc)
#21

If you use "say @message", it goes to everyone.
If you want to talk to only admins, use "say_team @message"

(Admin) designates that its admin-only talk. If you really want you could do what pRed said. But the standard in almost every plugin is for say @ to go to the simple say method.
__________________
I'm a blast from the past!
ferret is offline
pRED*
Join Date: Dec 2006
Old 06-30-2007 , 17:29   Re: Basic Chat (sm_say, sm_chat, sm_csay, etc)
#22

Amxx say @ creates hud messages above the chat text. But yeah easy enough to change if you want.
pRED* is offline
janbanan
Member
Join Date: Jun 2007
Old 07-01-2007 , 18:17   Re: Basic Chat (sm_say, sm_chat, sm_csay, etc)
#23

This plugin lists 2 times in my 'sm plugins list'. I get:

03 "Basic Chat" (1.2) by ferret
09 "Basic Chat" (1.3) by ferret

I only have 1.3 installed though. Dont think it mathers, just odd?

Edit:

Ok, think i figured it out.
With 'sm cmds 03' i get:

[SM] Listing 1 commands for: Basic Chat
[Name] [Type] [Help]
sm_cash admin sm_cash <name or #userid or all/t/ct> <amount> - Set target's cash to amount.

So i guess its smcash that identifies it self as basic chat.

Last edited by janbanan; 07-01-2007 at 18:24.
janbanan is offline
ferret
SourceMod Developer
Join Date: Dec 2004
Location: Atlanta, GA
Old 07-01-2007 , 18:31   Re: Basic Chat (sm_say, sm_chat, sm_csay, etc)
#24

I'll fix that, sorry
__________________
I'm a blast from the past!
ferret is offline
-GSE-||Obsession^
Junior Member
Join Date: Oct 2006
Location: Monnickendam
Old 07-02-2007 , 07:06   Re: Basic Chat (sm_say, sm_chat, sm_csay, etc)
#25

Good Job, but eeh.. colours would be great :p. Then it is really amxx style
However Good Job and keep it up..
-GSE-||Obsession^ is offline
ferret
SourceMod Developer
Join Date: Dec 2004
Location: Atlanta, GA
Old 07-02-2007 , 07:40   Re: Basic Chat (sm_say, sm_chat, sm_csay, etc)
#26

You can't do colors in Source, unfortunately. Except for some very basic colors in chat (Normal orange, green, and then the player's team)
__________________
I'm a blast from the past!
ferret is offline
Shaman
Senior Member
Join Date: Dec 2006
Location: Istanbul, Turkey
Old 07-02-2007 , 09:42   Re: Basic Chat (sm_say, sm_chat, sm_csay, etc)
#27

You should make all admin chat green. Btw. this "@" thing doesn't work. I have the latest build.
__________________
Shaman is offline
Send a message via ICQ to Shaman Send a message via AIM to Shaman Send a message via MSN to Shaman Send a message via Yahoo to Shaman
ferret
SourceMod Developer
Join Date: Dec 2004
Location: Atlanta, GA
Old 07-02-2007 , 09:46   Re: Basic Chat (sm_say, sm_chat, sm_csay, etc)
#28

Check your logs for any errors. When I use it while chatting, it works for me. Tested last night, latest plugin version compiled with latest sourcemod.

I've been planning to officially change the sm_say color to green. Just haven't done it yet.
__________________
I'm a blast from the past!
ferret is offline
Shaman
Senior Member
Join Date: Dec 2006
Location: Istanbul, Turkey
Old 07-02-2007 , 11:07   Re: Basic Chat (sm_say, sm_chat, sm_csay, etc)
#29

Quote:
] sm version
SourceMod Version Information:
SourceMod Version: 1.0.0.1038
JIT Version: JIT (x86), 1.0.0.871
JIT Settings: Generic i686
http://www.sourcemod.net/
] sm exts list
[SM] Displaying 2 extensions:
[01] Signature and Offset Extension (1.0.0.0): Makes Signature Scanning and Offsets easy in SourceMod
[02] Tempents Extension (1.0.0.5): Adds ITempEnts to SourceMod
] sm plugins list
[SM] Listing 19 plugins:
01 "Accessories" (0.2.0) by Knagg0
02 "Admin Auth" (1.0.0.0) by AlliedModders LLC
03 "Admin File Reader" (1.0.0.1038) by AlliedModders LLC
04 "Anti-Flood" (1.0.0.1038) by AlliedModders LLC
05 "ATAC" (1.1.2) by FlyingMongoose
06 "Basic Chat" (1.3) by ferret
07 "Basic Commands" (1.0.0.1038) by AlliedModders LLC
08 "Basic Votes" (1.2) by ferret
09 "Bounty" (1.0.3.0) by Shane A. ^BuGs^ Froebel, FlyingMongoose, and stoic
10 "KnifeMug" (1.0.3) by FlyingMongoose, sslice
11 "Mapchooser" (1.3) by ferret
12 "Network Monitor" (1.0.0) by James "sslice" Gray
13 "Nextmap" (1.1) by pRED*, ferret
14 "No Block" (1.0.0.0) by sslice
15 "RateChecker" (0.1) by pRED*
16 "Reserved Slots" (1.0.0.1038) by AlliedModders LLC
17 "rtv" (1.3) by ferret
18 "Sm_Cash" (1.2) by ferret
19 "Team Bets" (1.4) by ferret
Quote:
] say @dasdasd
Shaman : @dasdasd
] say @ dasdasd
Shaman : @ dasdasd
] say @ dasdasd
Shaman : @ dasdasd
] say "@ dasdasd"
Shaman : @ dasdasd
] say "a@ dasdasd"
Shaman : a@ dasdasd
] sm_say asdas
L 07/02/2007 - 17:51:33: [basechat.smx] Chat: Shaman<2><STEAM_ID_PENDING><> triggered sm_say (text asdas)
(ALL) Shaman: asdas
What's the problem?
__________________
Shaman is offline
Send a message via ICQ to Shaman Send a message via AIM to Shaman Send a message via MSN to Shaman Send a message via Yahoo to Shaman
ferret
SourceMod Developer
Join Date: Dec 2004
Location: Atlanta, GA
Old 07-02-2007 , 11:10   Re: Basic Chat (sm_say, sm_chat, sm_csay, etc)
#30

You aren't suppose to do it in console. "say" means normal chat to everyone, your 'y' key.

Likewise, say_team is the command bound to 'u'
__________________
I'm a blast from the past!
ferret is offline
Closed Thread



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


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