Forum

> > CS2D > Scripts > Chat Editor
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch Chat Editor

7 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Chat Editor

Skill
User Off Offline

Zitieren
I need Chat Editor.

Have 2 mode
1. Mode : ''hello my name is''
√ Hello . My . Name . is
Script having for your chat Caps Lock Open and ''.''

2. Mode : ''hello my name is.''

√ Hello my name is .
Use Having For your chat Starting Capslock
and ''.''

> Sory For my bad English Leagune
1× editiert, zuletzt 05.10.15 19:09:51

Admin/Mod Kommentar

"Leagune", with that English, I can't even... /ZxC Regeln §4.1 - Nutze ordentliche, verständliche Sprache. Keine Dialekte / Übersetzungstools.

alt Re: Chat Editor

XoOt
Super User Off Offline

Zitieren
This looks like random spam to me, couldnt you atleast try to put some effort into the explanation of your nonsense?

alt No

Skill
User Off Offline

Zitieren
I need seriously. Not Spam .

alt Re: Chat Editor

ohaz
User Off Offline

Zitieren
We don't even understand what you want. Please elaborate

alt Re: Chat Editor

Rainoth
Moderator Off Offline

Zitieren
1
2
3
4
5
6
7
8
addhook("say","_say")
function _say(id,txt)
	if txt:sub(1,1) == (txt:sub(1,1)):lower() then-- dunno if will work
		txt = (txt:sub(1,1)):upper()..txt:sub(2,#txt).."."
		msg(player(id,"name")..": "..txt)
		return 1
	end
end

That's one of your modes (if I made it correctly)
I won't make the other chat mode because it's gramatically incorrect and I don't want to encourage writing improperly.

P.S. tha understanding/assumption skills doe
P.P.S. @Others: what he wants is two chat modes, one will capitalize the first letter (like it should be) and place a dot at the end, the other will capitalize each word and put dots between words.
P.P.P.S. @user Skill: At least you tried √
1× editiert, zuletzt 04.10.15 19:20:41

alt Im sory

Skill
User Off Offline

Zitieren
I forget ''Can'' false. ''Need'' true .

alt Re: Chat Editor

GeoB99
Moderator Off Offline

Zitieren
Would you mind elaborating with what you said? Do you mean returning "false" and/or "true"? I don't see what is the purpose for a return in user Rainoth code as these "return false" and "return true" are kind of booleans. At least, cs2d lua hook say doesn't need these returns. I might go wrong (and if so, is appreciated if someone corrects me) but still is more better if you explain what do you mean.

Additional prerequisite: stop using smiles in a row as they're not intended in that way and this makes you a childish person. You're basically even violating the rules by doing so.

Edit1: Nevermind, I've got the meaning. But still read the second part regard using smiles.
1× editiert, zuletzt 05.10.15 20:19:51
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht