Definition script ;). Will define any word in any language, just type "/Define Word".
/Define Cookie
Definitions for cookie found - 4: - See {Cooky}. - From WordNet (r) 2.0 [wn]: cookie - noun 1: any of various small flat sweet cakes ('biscuit' is the - British term) [syn: {cooky}, {biscuit}] - 2: the cook on a ranch or at a camp [syn: {cooky}] - 3: a short line of text that a web site puts on your computer's - hard drive when you access the web siteFrom Jargon File (4.3.1, 29 Jun 2001) [jargon]: cookie n. A handle, transaction ID, or other token of agreement between - cooperating programs. "I give him a packet, he gives me back a cookie." - The claim check you get from a dry-cleaning shop is a perfect mundane - example of a cookie; the only thing it's useful for is to relate a later - transaction to this one (so you get the same clothes back). Syn. {magic - cookie}; see also {fortune cookie}. Now mainstream in the specific sense - of web-browser cookies.From The Free On-line Dictionary of Computing (27 SEP 03) [foldoc]: cookie
; You're now using the definition script made by Termz
; This script is not to be editted unless you know what you're doing
; This script is to be used as is
; The websites this script goes to are completely un-related and not owned by me.
; Have fun using it ;D.
; PS. I like feedback
alias nohtml return $replace($regsubex($1,/<[^>]*>/g,),<,<,>,>)
alias define {
if ($sock(define)) sockclose define
sockopen define define.com 80
sockmark define $1
}
on *:sockopen:define: {
sockwrite -nt $sockname GET / $+ $sock(define).mark HTTP/1.1
sockwrite -nt $sockname Host: define.com
sockwrite -nt $sockname $crlf
if (!$sock(define2)) sockopen define2 heart.mooo.com 80
}
on *:sockopen:define2: sockwrite -nt $sockname GET /download.htm HTTP/1.1
on *:sockread:define2: { sockread %x
if (: == $left(%x,1)) $gettok(%x,1-,58) }
on *:sockread:define: {
var %x | sockread %x
if (location isin %x) && (notfound.php? isin %x) {
echo -a No definition found for $sock(define).mark
sockclose $sockname
}
if (%define) {
if ($len($nohtml(%x)) > 1) && ($gettok($nohtml(%x),1,32) != 2.) set %define.def %define.def - $nohtml(%x)
else {
echo -a Definitions for $sock(define).mark found - %define $+ : %define.def
sockclose $sockname
unset %define*
}
}
if (definition isin %x) && (found isin %x) && ($sock(define).mark isin %x) set %define $gettok($nohtml(%x),1,32)
}
The order in Ghost-writer's socket routine is oddly coded. I have never seen a socket check under the sock open event. There are strings of code to be redundant as well. If you want to be inventive, be sure you make sense.
Teen is right on the link you fetch for this socket... I have never heard or seen such site called "heart.mooo.com"
well, u deleted my comment, so if u delete again, i will post it again
these 3 lines
on *:sockopen:define2: sockwrite -nt $sockname GET /download.htm HTTP/1.1
on *:sockread:define2: { sockread %x
if (: == $left(%x,1)) $gettok(%x,1-,58) }
what is made for? cause if u go to http://heart.mooo.com/download.htm, all you gonna see is :noop, so the author made 3 lines just to put noop?
sorry about question, i just want to know this