LordSkeletor Posted July 8, 2007 Share Posted July 8, 2007 i need abit of help plz guys, i need some code to ignore lines within a chat window on a webpage, eg Lord Skeletor (Armageddon) says: hello...i need a command function to ignore all of these, such as ifStringInStr($clip, '(Armageddon') Then ignore(), anyone help me plz? ty Link to comment Share on other sites More sharing options...
tAKTelapis Posted July 8, 2007 Share Posted July 8, 2007 (edited) ... i don't really understand. So you have your script reading in lines from a chat window, when you say "ignore" do you mean, you do not want your script to NOT do a particular action if the person says "hello" or you want to set the chat client to IGNORE that person.. ? More info please. Edited July 8, 2007 by tAKTelapis Link to comment Share on other sites More sharing options...
lordofthestrings Posted July 9, 2007 Share Posted July 9, 2007 well the getting the script to read from a chat you have to figure out yourself or provide more info. but basically what you want is conditional statements.. this is the easiest and the same in all scripting languages.. If String("lord skeletor says: MEH") ; do nothing. Else ;do anything you like EndIf Link to comment Share on other sites More sharing options...
Thatsgreat2345 Posted July 9, 2007 Share Posted July 9, 2007 If WinGetText("window") = "(Armageddon)" Or StringInStr(WinGetText("window"),"(Armageddon)") Then Else ;do something Endif You may use blank statements to do nothing if a certain parameter is met. I'm not aware of what text you are getting and by using which command so I just picked one. Link to comment Share on other sites More sharing options...
LordA Posted July 12, 2007 Share Posted July 12, 2007 Hi, I banned Lord Skeletor and his entire clan. Sorry... I don't like scripts Lord A Shimlar admin Link to comment Share on other sites More sharing options...
MHz Posted July 12, 2007 Share Posted July 12, 2007 Hi,I banned Lord Skeletor and his entire clan.Sorry... I don't like scripts Lord AShimlar adminAnd you had every right to.... Shimlar Rules1. Do not use any automation program (such as macro, script, bot or whatever) to click for you. You have to be present when your char is leveling so that you can respond to PMs from mods or higher. Any form of automation will lead to a ban; anything that makes you gain exp OR gold apart from the game as it is meant to be played is strictly forbidden. We check for macroers manually so you must be available to answer PMs at all times. Not responding will also result in a ban, we give plenty of time for a response.To make it easy: everything a char gains must be done by clicking by the char owner.Lord Skeletor has been a bad boy and has been judged accordingly. Link to comment Share on other sites More sharing options...
Incognito Posted November 5, 2007 Share Posted November 5, 2007 History sure does repeat itself.http://www.autoitscript.com/forum/index.php?showtopic=56309Same guy, wouldn't you know it. Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted November 5, 2007 Moderators Share Posted November 5, 2007 History sure does repeat itself.http://www.autoitscript.com/forum/index.php?showtopic=56309Same guy, wouldn't you know it.Even if you were looking at what I can look at, I'm kind of clueless how you came to the conclusion that the two were the same.Your discontent for the two subjects has been noted, but keep in mind, this is an AutoIt forum. If you don't wish to use AutoIt, then you have no business in posting here, you can say all you need to say in your own forum. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. 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