scriptkitty Posted October 21, 2004 Share Posted October 21, 2004 (edited) 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 October 21, 2004 by scriptkitty AutoIt3, the MACGYVER Pocket Knife for computers. Link to comment Share on other sites More sharing options...
Guest BL@(K-R34P3R Posted October 21, 2004 Share Posted October 21, 2004 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 More sharing options...
scriptkitty Posted October 21, 2004 Share Posted October 21, 2004 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 More sharing options...
the_lord_mephy Posted October 21, 2004 Author Share Posted October 21, 2004 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- -\< [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 -\< [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 -\< [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 -\< [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 -\< [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 -\< [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]Scramble1337BacillusAbacusApatiteabuserabaseabasedabasementabashabashedabashedlyabashmentabatableabateabatementAbbaabbacyabbessabbeyabbotabbreviateabbreviationabbreviatorabdicativeabdicatorabdomenabductabductionabductorAbeabeamabedAbelabeleAberdeenaberranceaberrancyaberrantaberrationaberrationalabetabetmentabettorabeyanceabeyantabhorabhorrenceabhorrentabhorrentlyabhorrerabhorringabidanceabideabiderabidingabidinglyabidingnessabilityabiogeneticallyabiogenistabjectabjectionabjectlyabjectnessabjurationabjuratoryabjureabjurerablactateablateablationablativeablatorablautablazeableablerablestabloomablutionablutionaryablyabnegateabnegationabnegatorabnormalabnormalityabnormallyabnormityaboardabodeabolishabolisherabolishmentabolitionabolitionaryabolitionismabolitionistabominableabominablyabominateabominationabominatorAboardAboriginalAboriginalityAboriginalsAborigineAborigineAbortAbortedAborigineAbortionabortionabortionistabortiveabortivelyabortivenessaboundaboundingaboutaboveaboveboardabovegroundabracadabraabradeabraderAbrahamabrasionabrasiveabreactabreactionabreastabridgeabridgedabridgerabridgmentabroadabrogableabrogateabrogationabrogativeabruptabruptionabruptlyabruptnessAbsalomabscessabscessedabsciseabscissaabscissionabscondabscondedabsconderabsenceabsentabsenteeabsenteeismabsentlyabsentmindedlyabsentnessabsintheabsinthialabsinthianabsoluteabsolutelyabsolutenessabsolutionabsolutismabsolutistabsolutisticabsolutoryabsolvableabsolveabsolventabsolverabsorbabsorbabilityabsorbableabsorbedabsorbedlyabsorbednessabsorbencyabsorbentabsorberabsorbingabsorbinglyabsorptionabsorptiveabsorptivenessabstainabstainerabstemiousabstemiouslyabstemiousnessabstentionabstentiousabstergentabstinenceabstinentabstinentlyabstractabstractedabstractedlyabstractednessabstracterabstractionabstractionismabstractionistabstractiveabstractlyabstractnessabstractorabstruseabstruselyabstrusenessabsurdabsurdityabsurdlyabsurdnessAbuabundanceabundantabundantlyabuseabuserabusiveabusivelyabusivenessabutAbutilonabutmentabuttalabutterabuttingabuzzabysmabysmalabysmallyabyssabyssalAbyssinianAcaciaacademeacademicacademyAcadiaaccessaccessibilityaccessibleaccountaccurateacknowledgmentsacronymacrossactactionactiveactivityactualactuallyadaptingaddictaddingadditionadditionaladdressadjectiveadventureaerobicaffectafraidAfricaafteragainagainstageagentsagoagreedaheadaidaidsairairforceairplaneakiraalabamaAlaskaAlbanyAlbertalgebraalgorithmalgorithmsaliasalienalignmentalikeallowallowsalonealoudalphabetalreadyalsoalternatealthoughamAmericaamongamountampersandsanaloganarchyanchoranchorsAndyangelangerangleanimalanimatedanimeannouncedanotheransweranvilanyanybodyanythinganywayanywhereapartmentappearappearanceappleappletappletsapplicationappliedappropriateaprilarabarbiterarchivesarchonareaArizonaArkansasarmorarmsarmyaroundarrangearrayarrivearrivedarrowartarticleasideaskassasinassholeassociatingAthenaAtlantaAtlanticatmosphereatomatomicattachedattentionattributeattributesaudienceaugustAuntAustraliaauthorauthoringauthorsautolayoutautomobileavailableavoidawareawayAztecbabybackbackgroundBackStagebackwardbadbadlybaileyballballerballoonbananabananasbanditbankbarbarbarianbarberBarbiebarebarkbasebaseballbasefontbashbasicbasisbasketbasketballbatmanbattlebattlenetBaybeanbearbeastbeatbeaterbeautifulbeautybeaverbecamebecausebecomebecomingbedbeebeenbeerBeethovenbeetlebeforebegunbehappybehaviorbehindbelievebellbelongbelovedbeltbendbenfranklinbentbesidebestbetbetterbetweenbicyclebidirectionalbigbigbossbigbuttsbiggestbiggiebigpimpbillbillgatesbillionbiobiosbirdberrybirdcallbirdcatcherbirdcatchingbirdclapperbirdcraftbirddombirdeenbirderbirdgluebirdhoodbirdhousebirdiebirdikinbirdingbirdlandbirdsbirthbirthdaybishopbitbitchbitchybiteblackbladeblankblanketblazingblewblindblizzardblockblocklevelblockquotebloodblowblueboardboatbodybombasticBombyliidaeBombyxBonbonacibonaghbonaghtbonairbonairlybonairnessbonallybonangbonanzaBonasabonasusBonbobonbonboncebondbondagebondagerbondarbondedBondelswartsbonderbondermanbondfolkbondholderbondholdingbondingbondlessbondmanbondmanshipbondsmanbondstonebondswomanbonducbondwomanboneboneachebonebinderboneblackbonebreakerbonedbonefishboneflowerboneheadbonelessbonelesslyboneletbonelikeBonelliabonerbonesbonesetboneshawbonetailbonewoodBoneybonfirebongBongobonhomieBoniboniataBonifacebonificationboniformbonifyboninessboninitebonitarianbonitarybonitobonkbonnazbonnetbonnetedbonneterbonnetheadbonnetlessbonnetlikebonnetmanbonnibelbonnilybonninessBonnybonnyishbonnyvisBononianbonsaibonspielbonusbonybonzebooboobboobookboobyboobyallaboobyishboobyismboodboodieboodleboofboogerboohooboojumbookbookablebookbinderbookbinderybookbindingbookboardbookcasebookedbookerbookiebookingbookishbookishlybookishnessbookkeeperbookkeepingbooklessbooleanboombordersbornBostonbottombounceboundboxboybrainbranchesbrandedbrassbreakbreaksbreathebreathingbriefbrightbringBritishBroadwaybrokenbroodlingbroodwarbrotherbroughtbrownbrowserbrushbubblebuffalobuildbuildingbuiltbullshitbumblebeebunkerburiedburnburningburstbushbusinessbustedbutterbuttonbuttonsbuycablecacophonycactusCadillaccagecajolerycakecalculatingcallcamecameracanCanadacancelcannotcantabilecapcapcomcapitalcaptaincaptioncaptionscapturedcarboncardcardinalcarecarebearcarefullycarolinacarriercartooncascadescascadingcasecastlecatcatalogcatchcategorizingcattlecaughtcausecellcellphonecellscelticcelticscentercentralcentscenturycerealcertaincgichainchamberchancechangechangescharactercharacteristiccharacterscharityCharlescharmingchartchartercheatercheckcheesechemistrycherrychestchewChicagochicanerychickenchiefchildchillingchinesechocolatechoicechoosechoosingchosenchotheschristmaschronicchurchcigarcirclecircuscitecitedcitizenclamclarificationsclassclassicclassroomcleanclearClickclientsideclosecloudclubclusterclusterscoastcocacolacocainecodecoderscodescoffeecolcoldcolgroupcollectcollegecolonycolorcoloradocolorscolumncolumnscombatcombinationcombinecomecomfortcomfortablecommandcommentscommoncommradescompanycompaqcomparecompasscompatibilitycompletecompletelycomplexcompliantcomposedcompoundcomputercomradecomradesconcernedconditionconditionscondomcondomsconformanceconformingconnectconnectedconsiderconsiderationsconsistconsoleconsonantconstructingconstructionconstructscontaincontainingcontentcontentscontinentcontinuecontinuedcontrolcontrollingcontrolsconventionsconversationcookcookiecoolcoopercooperativecopycopyingcopyrightcorncornercorrectcorrectedcorruptedcorsaircorvettecostcottoncouldcountcountrycouplecouragecourageouscoursecourtcoveredcowcowboycowboyscowscoyotecrackcrackedcrackheadcrapcravecreamcreatecreatedcreationcreaturecrestcriedcriminalcropscrosscrowdcrycubecuriouscurrentcurrentlycurvecutcutecuttingcyberneticcyborgdailydakotadamagedamnitdancedancerdanialdarkdarknessdatadatedatesdaughterdawndaydeaddealdeathdecemberdecideddecimaldeclarationdeclarationsdeclareddeeddeepdefaultdefilerdefinesdefinitiondefinitionsdeldelawaredemodemolitiondemondentistdepartmentsdependdependentdependingdeploymentdeprecateddescribedescribesdescriptionsdescriptorsdesertdesigndesigningdesperatedessertdestinydetailsdetectivedeterminedevelopdevelopeddevicedevildevourerdiablodiagramdiameterdiamondDickdictionarydiddieddifferdifferencedifferentdifficultdifficultydigdigitaldirdirectdirectiondirectordirtdirtydisabilitiesdisableddisappeardiscoverdiscovereddiscoverydiscriminatingdiscusseddiscussiondiseasedishdisneydisneylanddisplaydistancedistantdisturbdisturbeddivdivideddivisiondoctordocumentdocumentationdocumentsdoesdogdollardollarsdolphinsDondonedontdoobiedoomdoomsdaydoordotdoubtdowndownloaddozendragondragoondrawdrawingdreamDreamcastdreamerdressdrinkdrivedrivendrivingdropdrpepperdruiddrydtddtdsduckduedugdukedulldumbassdumbfuckdumpduressduringdustDutchdutydynamiceagerearlyearnearseartheasiereasteastsideeasyeclipseecstasyEddyedgeediteffecteffervescentefforteffortseggheadeggseighteinsteineitherelecricelementelementselephantelephantineeleveneliteeliteoneelseememachineembeddedemeraldempireencodeencodedencodingencodingsencouragedendendorsedenemyenergyengineengineerenginesEnglandenglishenhancesenigmaenjoyenteredenterpriseentireentirelyentitiesentityenvironmentequalequallyequationequatorericerrataerrorserythromysotisisesotericespeciallyestablishestateetceternityEuropeeveneveningeventseventuallyevereveryoneeverythingevidenceevilexactexactlyexamineexampleexamplesexcellentexceptexciteexcitementexcitingexclaimedexerciseexpectexperienceexperimentexplainexploreexpressextensibleextensionexternalfacefacetiousfacilitiesfactfactorfactoriesfactorsfactoryfaggotfailedfairlyfairwayfallfallenfamiliarizefamilyfamousFanaticismfarmfarmerfarmersfartingfastfastenedfatherfearfeaturefeaturesfebruaryfebuaryfedfeelfeelingfellfeltfenderferociousferrarifewerinstrumentsinteractinterestinterestedinteriorinternalinternationalinternationalizationinternetinternetcontrolmanagementprotocolinteroperabilityinterpretationintranetintrinsicintroducedintroductioninvalidinventedinvitedinvolvedtensespermanentstatestruthsactionsapplesorangeslondonsunnyclimatesnowsshootstakinggettingimprovingstealingyouregoingholidayretiringverbsnotablystateexistarrivingknowingeatinghamburgerrelatehistoriccontextvictoriatitanicicebergcookeddinnerlennonlivingpresidentbritishsituaterelationthatsdarlingcomingeatenimpliesfunnyliverpooleuropeanchampionsstarteddurationrelatedlivedyearscontrastnormallyeventsituateddoorbelldrinkingaccidentinversionhardlylinguisttensedialoguestayingclearlyreferswouldwordsstressnaturecasesexpressesdefinedmomentsimplyneededwheneverconfusionessentialaspectyoullunlesswellpicnicstorygenerallymakeswhateveryoureenablingpeculiarauthoriseforbidinstructinviteobligepermithurryforbadeclausepermitteddoorslistedeasilypassiveconcertforbiddenaskedhinderfollowedoptionalhinderedstartingfallingpreventedskinheadsmakingauthorityskatesconfuseabandonallowedThe 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) WEndI 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now