|
Joined: Aug 2006
Posts: 24
Ameglian cow
|
OP
Ameglian cow
Joined: Aug 2006
Posts: 24 |
I need a script which when I write text he starts to write with the big first letter like this: i write: hello, but my script writes: Hello and I need a script who write after word dot like this: i write hello, script writes: Hello. p.s sorry for bad english..
|
|
|
|
Joined: Sep 2006
Posts: 12
Pikka bird
|
Pikka bird
Joined: Sep 2006
Posts: 12 |
on *:INPUT:*: {
msg $active $upper($left($1-,1)) $+ $mid($1-,2,$len($1-)) $+ .
halt
}
|
|
|
|
Joined: Oct 2004
Posts: 8,061
Hoopy frood
|
Hoopy frood
Joined: Oct 2004
Posts: 8,061 |
You know... it is always better to learn to type properly rather than use a script to do it for you. Anyhow, here:
on &*:input:*: {
msg $target $upper($left($1,1)) $+ $right($1-,-1) $+ .
halt
}
Just as a note... if you already have a script that halts an on ^*:input:*: event, this will fail... you'd have to include it within that original script.
|
|
|
|
Joined: Sep 2003
Posts: 4,214
Hoopy frood
|
Hoopy frood
Joined: Sep 2003
Posts: 4,214 |
If he loads this into the first remote (at the start) it should function regardless of what other scripts are present.
on &*:input:*: { if ($islower($1-)) { haltdef | editbox -an $+($upper($left($1,1)),$mid($1-,2)) } }
Unless possably there not accounting for halted events, which is there failure.
|
|
|
|
Joined: Sep 2003
Posts: 261
Fjord artisan
|
Fjord artisan
Joined: Sep 2003
Posts: 261 |
True Riamus, a person doesn't need a grammer script if they aren't lazy about typing a message properly.  Though I'm sure a person could script one huge arse crazy coded up script that could do just that. But why bother scripting something like that? 
|
|
|
|
Joined: Aug 2006
Posts: 24
Ameglian cow
|
OP
Ameglian cow
Joined: Aug 2006
Posts: 24 |
coud u edit this script i need when i write symbol: ! or : script dont write a dot. Now is: !ban lol. it mus to be like this !ban lol or smile Now:  . must be: 
|
|
|
|
Joined: Aug 2005
Posts: 1,052
Hoopy frood
|
Hoopy frood
Joined: Aug 2005
Posts: 1,052 |
This dude seriously needs the script to be done. :S
|
|
|
|
Joined: Oct 2004
Posts: 8,061
Hoopy frood
|
Hoopy frood
Joined: Oct 2004
Posts: 8,061 |
on &*:input:*: {
if ($left($1,1) isalpha) {
msg $target $upper($left($1,1)) $+ $right($1-,-1) $+ .
halt
}
}
This will now only convert the text if the first character is a letter.
|
|
|
|
Joined: Aug 2005
Posts: 1,052
Hoopy frood
|
Hoopy frood
Joined: Aug 2005
Posts: 1,052 |
You know looking at all of this i was thinking of making a spell checker like checking the word with google and bringing up result "DID YOU MEAN: WORD" but then if your text is real bad the check is next to impossible.
|
|
|
|
Joined: Oct 2004
Posts: 8,061
Hoopy frood
|
Hoopy frood
Joined: Oct 2004
Posts: 8,061 |
There are spell checkers out there that you could look at to see how they handle it. Most likely, they just warn you that certain words are misspelled, but not give you suggestions for spelling it properly. I'm not sure as I've never used them.
|
|
|
|
Joined: Aug 2005
Posts: 1,052
Hoopy frood
|
Hoopy frood
Joined: Aug 2005
Posts: 1,052 |
That's why I would do a check with googles which is easy sending search data to google and have it return "DID YOU MEAN: xwordhere"
just return the xword otherwise google doesnt return DID YOU MEAN: kind of thing.
but really IRC is for chatting and not for grammar or spelling lessons. Who needs to spell with your brain can understand most unformulated words for example
---------------------------------------- eevn toguhh tihs is not bneig sllepd crrecltoy yuor mnid slitl has the ailbtiy to raed tihs ----------------------------------------
|
|
|
|
Joined: Oct 2004
Posts: 8,061
Hoopy frood
|
Hoopy frood
Joined: Oct 2004
Posts: 8,061 |
You can actually remove vowels in words in English and still read what was written without even being slowed down. The main thing is that the first and last letters cannot be changed. I read an entire paragraph written that way and it was very easy to read.
|
|
|
|
Joined: Jan 2003
Posts: 1,057
Hoopy frood
|
Hoopy frood
Joined: Jan 2003
Posts: 1,057 |
yeah, too bad it's a hoax because it absolutely does not always apply :-P
they just happen to put together a part of text where it's easy to read still... pick any random text from a book or website and do the same thing and you will see it's not as easy as it looks, specially if the words get longer
|
|
|
|
Joined: Oct 2004
Posts: 8,061
Hoopy frood
|
Hoopy frood
Joined: Oct 2004
Posts: 8,061 |
Fr mny pple, it ds. Sme pple jst hve trble rdng it tht wy, bt mny pple do fne wtht the vwls. It's the sme as if yu spll wrds incrrctly... pple cn uslly stll rd wht yu wrte. That's just what I wrote below, but I removed the vowels from the text (except the first/last vowel in a word because you can't change the first and last letters). This wasn't something tested ahead of time... I wrote it, then I removed the vowels. That's pretty easy to read, if you ask me.  For many people, it does. Some people just have trouble reading it that way, but many people do fine without the vowels. It's the same as if you spell words incorrectly... people can usually still read what you wrote.
|
|
|
|
|