Jump to content

From a string to a dif string


Recommended Posts

Ok, here is what I gather....

You are using a chat program that doesn't have the ability to log to a file, for if it did you can just read the file line by line to grab $x.

If you can get the text from ControlGetText(), sending a ^c, or by windowgettext() then we can work from that for now.

In a chat program, you will want to only send this info back once per line, so you will have to remove all the old lines.

So we grab the text like this:

$temp1=windowgettext("Hack chat","")

ok, you can dump this into $x now and output the first line # if you like, but stay with me....

You want to dump $temp1 into a new string that will hold the old chat, so we will do that first:

$oldchat=$temp1

on later lines, we will be doing a $oldchat=$oldchat & $temp1

ok, now you can start your script up. So what you need to do is grab $temp1, and remove any line that is in $oldchat. then dump each new line into $x.

Is that the gist of it?

Edited by scriptkitty

AutoIt3, the MACGYVER Pocket Knife for computers.

Link to comment
Share on other sites

Guest BL@(K-R34P3R

Actually... Mephy, you could log that chat into an Ini file right?

Also, scriptkitty =) It's a diabloII trivia chat.

Link to comment
Share on other sites

heh heh ok,

$temp1=windowgettext("diabloII trivia chat","")

anyway if you can have it "...log that chat into an Ini file ..." then use the standard helpfile FileReadLine and substitute your filename, and put a $x=$line in there with a call to one of the functions given in this thread.

I was just giving some other way if the chat program is very limited.

AutoIt3, the MACGYVER Pocket Knife for computers.

Link to comment
Share on other sites

Ok, Let me explain completely. Here is something copy pasted directly from the chatroom:

[3:28:15 PM]<koh_leader> know

[3:28:17 PM] -- 117 [141ms] has joined the channel using Starcraft (0 wins).

[3:28:18 PM] <koh_leader> .score yomama

[3:28:19 PM] <Hindu> :+:(Hint):+:  rhe---t---  :|-\<

[3:28:21 PM] <Jimwest> !say /away

[3:28:22 PM] <LiFe_AnD_DeAtH> lol

[3:28:27 PM] <LiFe_AnD_DeAtH> .say sex

[3:28:28 PM] <LiFe_AnD_DeAtH> lol

[3:28:29 PM] <koh_leader> .score dickles

[3:28:30 PM] -- 117 has left the channel.

[3:28:35 PM] <Hindu> :+:(Hint):+:  rheum-t---  :|-\<

[3:28:38 PM] <koh_leader> .score free

[3:28:40 PM] <zoomanboom> .say pickled dicks

[3:28:42 PM] <Jimwest> !say life sux

[3:28:42 PM] <Silentwolf.> life sux

[3:28:51 PM] <Hindu> :+: TimesUp - (Q.258) ->  -(rheumatism)-

[3:28:52 PM] <koh_leader> rheumitied

[3:28:55 PM] <Jimwest> !say life_and_death sux

[3:28:55 PM] <Silentwolf.> life_and_death sux

[3:28:57 PM] <l]ark_sorcerer> lol

[3:28:58 PM] <LiFe_AnD_DeAtH> ;p;

[3:28:59 PM] <zoomanboom> lol

[3:29:03 PM] <koh_leader> i fuked ur mom dude

[3:29:06 PM] -- Straight has left the channel.

[3:29:07 PM] <Hindu> :+: (S.1588 -> [$1.00])->  salt

[3:29:09 PM] <Jimwest> salt

[3:29:10 PM] <koh_leader> sealt

[3:29:11 PM] <l]ark_sorcerer> salt

[3:29:11 PM] <Jimwest> talsd

[3:29:13 PM] <koh_leader> lol

[3:29:14 PM] <zoomanboom> tals

[3:29:14 PM] <Jimwest> slat

[3:29:17 PM] <LiFe_AnD_DeAtH> !say life_and_death sux his dead great grandmas dildo

[3:29:18 PM] <koh_leader> last

[3:29:18 PM] <LiFe_AnD_DeAtH> lol

[3:29:19 PM] <Jimwest> lats

[3:29:20 PM] <Hindu koh_leader!, (Q.1588) -> [last] - (Streak: 0)-(Cash: $24.00)-(Rank: 35)>

[3:29:23 PM] <koh_leader> LMAO

[3:29:23 PM] <l]ark_sorcerer> lol

[3:29:32 PM] <zoomanboom> nasty

[3:29:34 PM] -- ruff-riding [31ms] has joined the channel using Diablo II Lord of Destruction (Matriarch RuFf-ThIsBiDcH, a level 98 amazon on realm USEast).

[3:29:34 PM] <LiFe_AnD_DeAtH> lmao

[3:29:35 PM] <Hindu> :+: (S.633 -> [$1.00])->  pybahep

[3:29:39 PM] <koh_leader> masterbation

[3:29:39 PM] <zoomanboom slaps life>

[3:29:42 PM] <LiFe_AnD_DeAtH> lol

[3:29:44 PM] <Jimwest> you're royally Fucked up in the head

[3:29:51 PM] <Hindu> :+:(Hint):+:  -----py  :|-\<

[3:30:06 PM] <koh_leader> heappy

[3:30:07 PM] <Hindu> :+:(Hint):+:  -e--ppy  :|-\<

[3:30:13 PM] <koh_leader> heabppy

[3:30:17 PM] <koh_leader> beahppy

[3:30:19 PM] -- zoomanboom has left the channel.

[3:30:19 PM] <Jimwest> behappy

[3:30:20 PM] <Hindu jimwest!, (Q.633) -> [behappy] - (Streak: 0)-(Cash: $54.00)-(Rank: 17)>

[3:30:23 PM] <koh_leader> LMAO

[3:30:24 PM] <l]ark_sorcerer> lol

[3:30:28 PM] <Jimwest> ez

[3:30:37 PM] <Hindu> :+: (S.2491 -> [$1.00])->  nildnueer

[3:30:38 PM] -- ruff-riding has left the channel.

[3:30:48 PM] <Jimwest> ?start allwords

[3:30:52 PM] <Hindu> :+:(Hint):+:  --d-r----  :|-\<

[3:30:57 PM] <Jimwest> ?trigger

[3:30:57 PM] <Silentwolf.> The bot's current trigger is " ! " (Alt + 033)

[3:30:58 PM] <SucKeR> O²·²The Trigger is: [x] - (ALT + 094)

[3:31:03 PM] <koh_leader> ill brb

[3:31:05 PM] <Jimwest> ,start allworsd

[3:31:06 PM] -- LiFe_AnD_DeAtH has left the channel.

[3:31:09 PM] <Hindu> :+:(Hint):+:  u-d-rl---  :|-\<

[3:31:12 PM] <Jimwest> ,start allwords

[3:31:15 PM] <London> :+: Trivia Station, Top Rankers Are Updated In My Profile (http://station55.cjb.net) :+:

[3:31:15 PM] -- advon [31ms] has joined the channel using Starcraft Brood War (0 wins).

[3:31:15 PM] -- koh_leader has left the channel.

[3:31:17 PM] -- advon has left the channel.

[3:31:18 PM] <London> :+: Trivia Station55 - Started :+: - Question Count: 1378 - GameType: SCRAMBLE

[3:31:19 PM] <Jimwest> 2bots

[3:31:25 PM] <Hindu> :+:(Hint):+:  underl---  :|-\<

[3:31:30 PM] <London> :+: (S.971 -> [$1.00])->  pemyenoldt

[3:31:31 PM] <l]ark_sorcerer> underleen

[3:31:36 PM] <Jimwest> underling

[3:31:44 PM] <Hindu> :+: TimesUp - (Q.2491) ->  -(underline)-

[3:31:47 PM] <London> :+:(Hint):+:  ------m--t  :)-\<

[3:31:48 PM] <Jimwest> line

[3:31:51 PM] <l]ark_sorcerer> underlind

[3:31:54 PM] <l]ark_sorcerer> lol

[3:31:57 PM] <Hindu> :+: (S.2643 -> [$1.00])->  wyh

[3:32:02 PM] <Jimwest> wht

[3:32:03 PM] <l]ark_sorcerer> 2 bots?

[3:32:03 PM] <Jimwest> why

[3:32:03 PM] <London> :+:(Hint):+:  --p---m-nt  :)-\<

[3:32:03 PM] <Hindu jimwest!, (Q.2643) -> [why] - (Streak: 1)-(Cash: $55.00)-(Rank: 17)>

[3:32:06 PM] <Jimwest> ya

[3:32:11 PM] -- Straight [3266ms] has joined the channel using Starcraft (4 wins).

[3:32:17 PM] <SucKeR [sys]: 19 days, 21 hours, 51 minutes, 3 seconds, [bot]: 8 days, 21 hours, 54 minutes, 35 seconds, [Connect]: 2 hours, 39 minutes, 50 seconds [Last Talked]: 7 days, 6 hours, 0 minutes, 39 seconds  .:Oxygen II:.>

[3:32:19 PM] <London> :+:(Hint):+:  --plo-m-nt  ;)-\<

[3:32:19 PM] <Jimwest> appartment

[3:32:21 PM] <Hindu> :+: (S.1637 -> [$1.00])->  haciemn

[3:32:24 PM] <l]ark_sorcerer> enplyment

[3:32:27 PM] <Straight> chainman

[3:32:29 PM] <l]ark_sorcerer> enployment

[3:32:31 PM] <Jimwest> enploymenty

[3:32:33 PM] <Straight> machine

[3:32:34 PM] <Hindu straight!, (Q.1637) -> [machine] - (Streak: 0)-(Cash: $1.00)-(Rank: 103)>

[3:32:35 PM] <London> :+: TimesUp - (Q.971) ->  -(deployment)-

[3:32:38 PM] <Jimwest> de

[3:32:40 PM] <Straight> ,stop

[3:32:41 PM] <l]ark_sorcerer> lol

[3:32:49 PM] <Hindu> :+: (S.2552 -> [$1.00])->  nlvcooa

[3:32:51 PM] <London> :+: (S.140 -> [$1.00])->  bataoger

[3:32:54 PM] <Jimwest> y stop??

[3:32:56 PM] <Straight> volcano

[3:32:58 PM] <Hindu straight!, (Q.2552) -> [volcano] - (Streak: 1)-(Cash: $2.00)-(Rank: 89)>

[3:33:06 PM] <Straight> because at once sucks

[3:33:07 PM] <London> :+:(Hint):+:  -----at-  :D-\<

[3:33:11 PM] -- Straight has left the channel.

[3:33:12 PM] <Jimwest> it rocks

[3:33:13 PM] <Jimwest> last night

[3:33:13 PM] <Hindu> :+: (S.801 -> [$1.00])->  eehcse

[3:33:17 PM] <l]ark_sorcerer> cheese

[3:33:20 PM] <Hindu l]ark_sorcerer!, (Q.801) -> [cheese] - (Streak: 0)-(Cash: $1.00)-(Rank: 116)>

[3:33:21 PM] <Jimwest> i had a roll of 9 on each

[3:33:23 PM] <l]ark_sorcerer> lol

[3:33:27 PM] <London> :+:(Hint):+:  --r-gat-  :(-\<

[3:33:35 PM] <Hindu> :+: (S.327 -> [$1.00])->  esptlubcise

[3:33:43 PM] <London> :+:(Hint):+:  a-r-gate  :idiot:-\<

[3:33:44 PM] <Jimwest> ,start easy

[3:33:46 PM] <London> :+: Trivia Station, Top Rankers Are Updated In My Profile (http://station55.cjb.net) :+:

[3:33:50 PM] <London> :+: Trivia Station55 - Started :+: - Question Count: 2823 - GameType: SCRAMBLE

[3:33:51 PM] -- einstein [109ms] has joined the channel using Starcraft (0 wins).

[3:33:52 PM] <l]ark_sorcerer> atregate

[3:33:52 PM] <Hindu> :+:(Hint):+:  ---c----b-e  :|-\<

[3:34:01 PM] <London> :+: (S.2371 -> [$5.00])->  erbilert

[3:34:08 PM] <Jimwest> dilbert

[3:34:08 PM] <Hindu> :+:(Hint):+:  s--ce-t-b-e  :|-\<

[3:34:17 PM] <London> :+:(Hint):+:  -e-----e  :idiot:-\<

[3:34:25 PM] <Hindu> :+:(Hint):+:  su-ceptib-e  :|-\<

[3:34:31 PM] -- einstein has left the channel.

[3:34:34 PM] <Jimwest> succeptible

[3:34:35 PM] -- relicbane [47ms] has joined the channel using Diablo II Lord of Destruction (Slayer HOBBlT, a level 48 paladin on realm USEast).

[3:34:36 PM] <London> :+:(Hint):+:  -e-ri--e  :idiot:-\<

[3:34:37 PM] -- bD_Straight [1812ms] has joined the channel using Starcraft (0 wins).

[3:34:37 PM] <l]ark_sorcerer> suscptible

[3:34:41 PM] <Hindu> :+: TimesUp - (Q.327) ->  -(susceptible)-

[3:34:52 PM] <London> :+:(Hint):+:  te-rib-e  :blink:-\<

[3:34:55 PM] <relicbane> terrible

[3:34:55 PM] <London relicbane!, (Q.2371) -> [terrible] - (Streak: 0)-(Cash: $1.00)-(Rank: 115)>

[3:34:56 PM] <Jimwest> terrible

[3:34:57 PM] <Hindu> :+: (S.2220 -> [$1.00])->  dnsat

[3:35:00 PM] <bD_Straight> stand

[3:35:01 PM] <Jimwest> stand

[3:35:03 PM] <Hindu bd_straight!, (Q.2220) -> [stand] - (Streak: 0)-(Cash: $77.00)-(Rank: 14)>

[3:35:10 PM] <London> :+: (S.1439 -> [$1.00])->  athhle

[3:35:18 PM] <Hindu> :+: (S.223 -> [$1.00])->  iecpe

[3:35:20 PM] <relicbane> health

[3:35:20 PM] <London relicbane!, (Q.1439) -> [health] - (Streak: 1)-(Cash: $2.00)-(Rank: 91)>

[3:35:21 PM] <Jimwest> piuece

[3:35:22 PM] -- advon [31ms] has joined the channel using Starcraft Brood War (0 wins).

[3:35:22 PM] <l]ark_sorcerer> recipe

[3:35:24 PM] -- advon has left the channel.

[3:35:25 PM] <Jimwest> piece

[3:35:25 PM] <relicbane> peice

[3:35:28 PM] <Hindu jimwest!, (Q.223) -> [piece] - (Streak: 0)-(Cash: $56.00)-(Rank: 17)>

[3:35:29 PM] <relicbane> shit

[3:35:30 PM] <relicbane> lol

[3:35:35 PM] <London> :+: (S.1492 -> [$2.00])->  eervhow

[3:35:39 PM] <bD_Straight> however

[3:35:39 PM] <l]ark_sorcerer> everhow

[3:35:41 PM] <Jimwest> however

[3:35:41 PM] <London bd_straight!, (Q.1492) -> [however] - (Streak: 0)-(Cash: $1.00)-(Rank: 137)>

[3:35:42 PM] <Hindu> :+: (S.2169 -> [$1.00])->  ofst

[3:35:43 PM] <l]ark_sorcerer> lol

[3:35:45 PM] <relicbane> soft

[3:35:45 PM] <bD_Straight> soft

[3:35:45 PM] <l]ark_sorcerer> oop[s

[3:35:45 PM] <Jimwest> fost

[3:35:46 PM] <Hindu relicbane!, (Q.2169) -> [soft] - (Streak: 0)-(Cash: $1.00)-(Rank: 108)>

[3:35:56 PM] <London> :+: (S.1152 -> [$1.00])->  njeoy

[3:35:58 PM] <bD_Straight> enjoy

[3:35:59 PM] <London bd_straight!, (Q.1152) -> [enjoy] - (Streak: 1)-(Cash: $2.00)-(Rank: 98)>

[3:35:59 PM] <relicbane> enjoy

[3:35:59 PM] <Jimwest> enjoty

[3:35:59 PM] <l]ark_sorcerer> enjoy

[3:36:04 PM] <Hindu> :+: (S.1823 -> [$1.00])->  psyshci

[3:36:05 PM] <Jimwest> typo's

[3:36:06 PM] <relicbane> physic

[3:36:07 PM] <bD_Straight> physics

[3:36:07 PM] <Hindu bd_straight!, (Q.1823) -> [physics] - (Streak: 0)-(Cash: $78.00)-(Rank: 14)>

[3:36:13 PM] <bD_Straight> gg no re

[3:36:14 PM] <London> :+: (S.2807 -> [$1.00])->  ryae

[3:36:17 PM] <Jimwest> year

[3:36:20 PM] <London jimwest!, (Q.2807) -> [year] - (Streak: 0)-(Cash: $57.00)-(Rank: 14)>

[3:36:22 PM] <Hindu> :+: (S.1147 -> [$1.00])->  nenige

[3:36:25 PM] <relicbane> engine

[3:36:25 PM] <bD_Straight> engine

[3:36:25 PM] <Hindu relicbane!, (Q.1147) -> [engine] - (Streak: 0)-(Cash: $2.00)-(Rank: 91)>

[3:36:28 PM] <Jimwest> ok brb

[3:36:28 PM] <bD_Straight> nice

[3:36:32 PM] <bD_Straight> ?trigger

[3:36:38 PM] <London> :+: (S.325 -> [$1.00])->  euvpeissr

[3:36:40 PM] <Hindu> :+: (S.122 -> [$1.00])->  nsedtaef

[3:36:41 PM] <relicbane> supervisor

[3:36:43 PM] <l]ark_sorcerer> ....

[3:36:45 PM] <bD_Straight> superviser

[3:36:47 PM] <London bd_straight!, (Q.325) -> [supervise] - (Streak: 0)-(Cash: $3.00)-(Rank: 86)>

[3:36:51 PM] <relicbane> aww

[3:36:53 PM] <l]ark_sorcerer> i lagged like hell

[3:36:53 PM] <relicbane> steal

[3:36:55 PM] <bD_Straight> fastened

[3:36:56 PM] <Hindu bd_straight!, (Q.122) -> [fastened] - (Streak: 0)-(Cash: $79.00)-(Rank: 14)>

[3:37:02 PM] <London> :+: (S.2822 -> [$1.00])->  lyoozgo

[3:37:07 PM] <relicbane> zoology

[3:37:09 PM] <London relicbane!, (Q.2822) -> [zoology] - (Streak: 0)-(Cash: $3.00)-(Rank: 84)>

[3:37:09 PM] -- advon [31ms] has joined the channel using Starcraft Brood War (0 wins).

[3:37:11 PM] <Hindu> :+: (S.196 -> [$1.00])->  ctibrieo

[3:37:12 PM] <bD_Straight> zoology

[3:37:17 PM] <SucKeR [sys]: 19 days, 21 hours, 56 minutes, 3 seconds, [bot]: 8 days, 21 hours, 59 minutes, 35 seconds, [Connect]: 2 hours, 44 minutes, 50 seconds [Last Talked]: 7 days, 6 hours, 5 minutes, 39 seconds  .:Oxygen II:.>

[3:37:20 PM] -- advon has left the channel.

[3:37:23 PM] <bD_Straight> damnit

[3:37:24 PM] <London> :+: (S.365 -> [$1.00])->  vlalaebu

[3:37:24 PM] -- ready-to-die [79ms] has joined the channel using Diablo II Lord of Destruction (Matriarch SorcOfWhoopAss, a level 89 sorceress on realm USEast).

[3:37:27 PM] <relicbane> valuable

[3:37:27 PM] <London relicbane!, (Q.365) -> [valuable] - (Streak: 1)-(Cash: $4.00)-(Rank: 74)>

[3:37:29 PM] <bD_Straight> vaulable

[3:37:30 PM] <Hindu> :+:(Hint):+:  ob------  :|-\<

[3:37:32 PM] <bD_Straight> im too old for this

[3:37:36 PM] -- bD_Straight has left the channel.

[3:37:39 PM] <relicbane> lol

[3:37:39 PM] <ready-to-die> obsidian

[3:37:42 PM] <London> :+: (S.823 -> [$3.00])->  tzniiec

[3:37:46 PM] <Hindu> :+:(Hint):+:  ob--ri--  :|-\<

[3:37:59 PM] <l]ark_sorcerer> obserive

[3:38:01 PM] <London> :+:(Hint):+:  -i----n  :evil:-\<

[3:38:03 PM] <Hindu> :+:(Hint):+:  obi-ri-e  :|-\<

[3:38:07 PM] <ready-to-die> citizen

[3:38:07 PM] <London ready-to-die!, (Q.823) -> [citizen] - (Streak: 0)-(Cash: $21.00)-(Rank: 34)>

Both London and Hindu are scramble bots. They have a file (allword.dat) of words containing:

[scramble]Scramble

1337

Bacillus

Abacus

Apatite

abuser

abase

abased

abasement

abash

abashed

abashedly

abashment

abatable

abate

abatement

Abba

abbacy

abbess

abbey

abbot

abbreviate

abbreviation

abbreviator

abdicative

abdicator

abdomen

abduct

abduction

abductor

Abe

abeam

abed

Abel

abele

Aberdeen

aberrance

aberrancy

aberrant

aberration

aberrational

abet

abetment

abettor

abeyance

abeyant

abhor

abhorrence

abhorrent

abhorrently

abhorrer

abhorring

abidance

abide

abider

abiding

abidingly

abidingness

ability

abiogenetically

abiogenist

abject

abjection

abjectly

abjectness

abjuration

abjuratory

abjure

abjurer

ablactate

ablate

ablation

ablative

ablator

ablaut

ablaze

able

abler

ablest

abloom

ablution

ablutionary

ably

abnegate

abnegation

abnegator

abnormal

abnormality

abnormally

abnormity

aboard

abode

abolish

abolisher

abolishment

abolition

abolitionary

abolitionism

abolitionist

abominable

abominably

abominate

abomination

abominator

Aboard

Aboriginal

Aboriginality

Aboriginals

Aborigine

Aborigine

Abort

Aborted

Aborigine

Abortion

abortion

abortionist

abortive

abortively

abortiveness

abound

abounding

about

above

aboveboard

aboveground

abracadabra

abrade

abrader

Abraham

abrasion

abrasive

abreact

abreaction

abreast

abridge

abridged

abridger

abridgment

abroad

abrogable

abrogate

abrogation

abrogative

abrupt

abruption

abruptly

abruptness

Absalom

abscess

abscessed

abscise

abscissa

abscission

abscond

absconded

absconder

absence

absent

absentee

absenteeism

absently

absentmindedly

absentness

absinthe

absinthial

absinthian

absolute

absolutely

absoluteness

absolution

absolutism

absolutist

absolutistic

absolutory

absolvable

absolve

absolvent

absolver

absorb

absorbability

absorbable

absorbed

absorbedly

absorbedness

absorbency

absorbent

absorber

absorbing

absorbingly

absorption

absorptive

absorptiveness

abstain

abstainer

abstemious

abstemiously

abstemiousness

abstention

abstentious

abstergent

abstinence

abstinent

abstinently

abstract

abstracted

abstractedly

abstractedness

abstracter

abstraction

abstractionism

abstractionist

abstractive

abstractly

abstractness

abstractor

abstruse

abstrusely

abstruseness

absurd

absurdity

absurdly

absurdness

Abu

abundance

abundant

abundantly

abuse

abuser

abusive

abusively

abusiveness

abut

Abutilon

abutment

abuttal

abutter

abutting

abuzz

abysm

abysmal

abysmally

abyss

abyssal

Abyssinian

Acacia

academe

academic

academy

Acadia

access

accessibility

accessible

account

accurate

acknowledgments

acronym

across

act

action

active

activity

actual

actually

adapting

addict

adding

addition

additional

address

adjective

adventure

aerobic

affect

afraid

Africa

after

again

against

age

agents

ago

agreed

ahead

aid

aids

air

airforce

airplane

akira

alabama

Alaska

Albany

Albert

algebra

algorithm

algorithms

alias

alien

alignment

alike

allow

allows

alone

aloud

alphabet

already

also

alternate

although

am

America

among

amount

ampersands

analog

anarchy

anchor

anchors

Andy

angel

anger

angle

animal

animated

anime

announced

another

answer

anvil

any

anybody

anything

anyway

anywhere

apartment

appear

appearance

apple

applet

applets

application

applied

appropriate

april

arab

arbiter

archives

archon

area

Arizona

Arkansas

armor

arms

army

around

arrange

array

arrive

arrived

arrow

art

article

aside

ask

assasin

asshole

associating

Athena

Atlanta

Atlantic

atmosphere

atom

atomic

attached

attention

attribute

attributes

audience

august

Aunt

Australia

author

authoring

authors

autolayout

automobile

available

avoid

aware

away

Aztec

baby

back

background

BackStage

backward

bad

badly

bailey

ball

baller

balloon

banana

bananas

bandit

bank

bar

barbarian

barber

Barbie

bare

bark

base

baseball

basefont

bash

basic

basis

basket

basketball

batman

battle

battlenet

Bay

bean

bear

beast

beat

beater

beautiful

beauty

beaver

became

because

become

becoming

bed

bee

been

beer

Beethoven

beetle

before

begun

behappy

behavior

behind

believe

bell

belong

beloved

belt

bend

benfranklin

bent

beside

best

bet

better

between

bicycle

bidirectional

big

bigboss

bigbutts

biggest

biggie

bigpimp

bill

billgates

billion

bio

bios

birdberry

birdcall

birdcatcher

birdcatching

birdclapper

birdcraft

birddom

birdeen

birder

birdglue

birdhood

birdhouse

birdie

birdikin

birding

birdland

birds

birth

birthday

bishop

bit

bitch

bitchy

bite

black

blade

blank

blanket

blazing

blew

blind

blizzard

block

blocklevel

blockquote

blood

blow

blue

board

boat

body

bombastic

Bombyliidae

Bombyx

Bon

bonaci

bonagh

bonaght

bonair

bonairly

bonairness

bonally

bonang

bonanza

Bonasa

bonasus

Bonbo

bonbon

bonce

bond

bondage

bondager

bondar

bonded

Bondelswarts

bonder

bonderman

bondfolk

bondholder

bondholding

bonding

bondless

bondman

bondmanship

bondsman

bondstone

bondswoman

bonduc

bondwoman

bone

boneache

bonebinder

boneblack

bonebreaker

boned

bonefish

boneflower

bonehead

boneless

bonelessly

bonelet

bonelike

Bonellia

boner

bones

boneset

boneshaw

bonetail

bonewood

Boney

bonfire

bong

Bongo

bonhomie

Boni

boniata

Boniface

bonification

boniform

bonify

boniness

boninite

bonitarian

bonitary

bonito

bonk

bonnaz

bonnet

bonneted

bonneter

bonnethead

bonnetless

bonnetlike

bonnetman

bonnibel

bonnily

bonniness

Bonny

bonnyish

bonnyvis

Bononian

bonsai

bonspiel

bonus

bony

bonze

boo

boob

boobook

booby

boobyalla

boobyish

boobyism

bood

boodie

boodle

boof

booger

boohoo

boojum

book

bookable

bookbinder

bookbindery

bookbinding

bookboard

bookcase

booked

booker

bookie

booking

bookish

bookishly

bookishness

bookkeeper

bookkeeping

bookless

boolean

boom

borders

born

Boston

bottom

bounce

bound

box

boy

brain

branches

branded

brass

break

breaks

breathe

breathing

brief

bright

bring

British

Broadway

broken

broodling

broodwar

brother

brought

brown

browser

brush

bubble

buffalo

build

building

built

bullshit

bumblebee

bunker

buried

burn

burning

burst

bush

business

busted

butter

button

buttons

buy

cable

cacophony

cactus

Cadillac

cage

cajolery

cake

calculating

call

came

camera

can

Canada

cancel

cannot

cantabile

cap

capcom

capital

captain

caption

captions

captured

carbon

card

cardinal

care

carebear

carefully

carolina

carrier

cartoon

cascades

cascading

case

castle

cat

catalog

catch

categorizing

cattle

caught

cause

cell

cellphone

cells

celtic

celtics

center

central

cents

century

cereal

certain

cgi

chain

chamber

chance

change

changes

character

characteristic

characters

charity

Charles

charming

chart

charter

cheater

check

cheese

chemistry

cherry

chest

chew

Chicago

chicanery

chicken

chief

child

chilling

chinese

chocolate

choice

choose

choosing

chosen

chothes

christmas

chronic

church

cigar

circle

circus

cite

cited

citizen

clam

clarifications

class

classic

classroom

clean

clear

Click

clientside

close

cloud

club

cluster

clusters

coast

cocacola

cocaine

code

coders

codes

coffee

col

cold

colgroup

collect

college

colony

color

colorado

colors

column

columns

combat

combination

combine

come

comfort

comfortable

command

comments

common

commrades

company

compaq

compare

compass

compatibility

complete

completely

complex

compliant

composed

compound

computer

comrade

comrades

concerned

condition

conditions

condom

condoms

conformance

conforming

connect

connected

consider

considerations

consist

console

consonant

constructing

construction

constructs

contain

containing

content

contents

continent

continue

continued

control

controlling

controls

conventions

conversation

cook

cookie

cool

cooper

cooperative

copy

copying

copyright

corn

corner

correct

corrected

corrupted

corsair

corvette

cost

cotton

could

count

country

couple

courage

courageous

course

court

covered

cow

cowboy

cowboys

cows

coyote

crack

cracked

crackhead

crap

crave

cream

create

created

creation

creature

crest

cried

criminal

crops

cross

crowd

cry

cube

curious

current

currently

curve

cut

cute

cutting

cybernetic

cyborg

daily

dakota

damage

damnit

dance

dancer

danial

dark

darkness

data

date

dates

daughter

dawn

day

dead

deal

death

december

decided

decimal

declaration

declarations

declared

deed

deep

default

defiler

defines

definition

definitions

del

delaware

demo

demolition

demon

dentist

departments

depend

dependent

depending

deployment

deprecated

describe

describes

descriptions

descriptors

desert

design

designing

desperate

dessert

destiny

details

detective

determine

develop

developed

device

devil

devourer

diablo

diagram

diameter

diamond

Dick

dictionary

did

died

differ

difference

different

difficult

difficulty

dig

digital

dir

direct

direction

director

dirt

dirty

disabilities

disabled

disappear

discover

discovered

discovery

discriminating

discussed

discussion

disease

dish

disney

disneyland

display

distance

distant

disturb

disturbed

div

divided

division

doctor

document

documentation

documents

does

dog

dollar

dollars

dolphins

Don

done

dont

doobie

doom

doomsday

door

dot

doubt

down

download

dozen

dragon

dragoon

draw

drawing

dream

Dreamcast

dreamer

dress

drink

drive

driven

driving

drop

drpepper

druid

dry

dtd

dtds

duck

due

dug

duke

dull

dumbass

dumbfuck

dump

duress

during

dust

Dutch

duty

dynamic

eager

early

earn

ears

earth

easier

east

eastside

easy

eclipse

ecstasy

Eddy

edge

edit

effect

effervescent

effort

efforts

egghead

eggs

eight

einstein

either

elecric

element

elements

elephant

elephantine

eleven

elite

eliteone

else

em

emachine

embedded

emerald

empire

encode

encoded

encoding

encodings

encouraged

end

endorsed

enemy

energy

engine

engineer

engines

England

english

enhances

enigma

enjoy

entered

enterprise

entire

entirely

entities

entity

environment

equal

equally

equation

equator

eric

errata

errors

erythromysotisis

esoteric

especially

establish

estate

etc

eternity

Europe

even

evening

events

eventually

ever

everyone

everything

evidence

evil

exact

exactly

examine

example

examples

excellent

except

excite

excitement

exciting

exclaimed

exercise

expect

experience

experiment

explain

explore

express

extensible

extension

external

face

facetious

facilities

fact

factor

factories

factors

factory

faggot

failed

fairly

fairway

fall

fallen

familiarize

family

famous

Fanaticism

farm

farmer

farmers

farting

fast

fastened

father

fear

feature

features

february

febuary

fed

feel

feeling

fell

felt

fender

ferocious

ferrari

fewer

instruments

interact

interest

interested

interior

internal

international

internationalization

internet

internetcontrolmanagementprotocol

interoperability

interpretation

intranet

intrinsic

introduced

introduction

invalid

invented

invited

involved

tenses

permanent

states

truths

actions

apples

oranges

london

sunny

climate

snows

shoots

taking

getting

improving

stealing

youre

going

holiday

retiring

verbs

notably

state

exist

arriving

knowing

eating

hamburger

relate

historic

context

victoria

titanic

iceberg

cooked

dinner

lennon

living

president

british

situate

relation

thats

darling

coming

eaten

implies

funny

liverpool

european

champions

started

duration

related

lived

years

contrast

normally

event

situated

doorbell

drinking

accident

inversion

hardly

linguist

tense

dialogue

staying

clearly

refers

would

words

stress

nature

cases

expresses

defined

moments

imply

needed

whenever

confusion

essential

aspect

youll

unless

well

picnic

story

generally

makes

whatever

youre

enabling

peculiar

authorise

forbid

instruct

invite

oblige

permit

hurry

forbade

clause

permitted

doors

listed

easily

passive

concert

forbidden

asked

hinder

followed

optional

hindered

starting

falling

prevented

skinheads

making

authority

skates

confuse

abandon

allowed

The bot wasn't made with AutoIt but if it was, I'd immagine the code would be something like:

While 1
$word = Int(Random(1, 1379))
$say = FileReadLine($word)
Send(":+: (S."& $word& " -> [$1.00])->   "& [B]Idk how they mixed up letters[/B]")
Sleep(10000)
Send("Hint")
Sleep(10000)
Send("Hint")
Sleep(10000)
Send("Hint")
Sleep(10000)
Send("Times up morons, the answer was "& $say)
WEnd

I know there's a lot more to the code than that but you get the idea. The bot grabs a random line from a file, mixes up the letters in the word, and sends that text to the chat room.

What I want to do (looking back at the channel script) is create a bot that grabs the Number of the line of the word, Reads that line from allwords.dat and returns the value of that line and sends it. Now, the only thing i don't know how to do is get that number. It's obviously the hardest part of the script and I just can't get it.

My site for HTML Help :)[quote name='Valik' date='Oct 15 2004, 12:29 PM']Maybe nobody is an "elite uber-coder" like me because thinking is a capital offense in today's online-world?[right][snapback]36427[/snapback][/right][/quote]
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...