lowriderchevyman Posted June 28, 2007 Share Posted June 28, 2007 (edited) New to all of this scripting, how do i change how my script auto replies to someone? Tried using the scite to record accepting the im, and it engages everytime i send an im from just that specific user. When i look at the script it shows the users name that sent the im, but how do i change that to respond to anyone who im's me??? Cheers..... Edited June 28, 2007 by lowriderchevyman Link to comment Share on other sites More sharing options...
lowriderchevyman Posted June 28, 2007 Author Share Posted June 28, 2007 While 1 Opt("WinWaitDelay",100) Opt("WinTitleMatchMode",4) Opt("WinDetectHiddenText",1) Opt("MouseCoordMode",0) WinWait("New Text Document - Notepad","") If Not WinActive("New Text Document - Notepad","") Then WinActivate("New Text Document - Notepad","") WinWaitActive("New Text Document - Notepad","") MouseMove(22,61) MouseDown("left") MouseMove(3,61) MouseUp("left") MouseMove(13,61) MouseDown("right") MouseUp("right") MouseMove(47,114) MouseDown("left") MouseUp("left") WinWait("arnoldbot (Active Available)","User defined button ") If Not WinActive("arnoldbot (Active Available)","User defined button ") Then WinActivate("arnoldbot (Active Available)","User defined button ") WinWaitActive("arnoldbot (Active Available)","User defined button ") MouseMove(212,370) MouseDown("left") MouseUp("left") MouseDown("right") MouseUp("right") MouseMove(251,440) MouseDown("left") MouseUp("left") MouseMove(323,365) MouseDown("left") MouseUp("left") MouseMove(344,19) MouseDown("left") MouseUp("left") WinWait("New Text Document - Notepad","") If Not WinActive("New Text Document - Notepad","") Then WinActivate("New Text Document - Notepad","") WinWaitActive("New Text Document - Notepad","") MouseMove(284,96) MouseDown("left") MouseMove(5,94) MouseUp("left") MouseMove(29,102) MouseDown("right") MouseUp("right") MouseMove(58,152) MouseDown("left") MouseUp("left") WinWait("arnoldbot (Active Available)","User defined button ") If Not WinActive("arnoldbot (Active Available)","User defined button ") Then WinActivate("arnoldbot (Active Available)","User defined button ") WinWaitActive("arnoldbot (Active Available)","User defined button ") MouseMove(109,380) MouseDown("left") MouseUp("left") MouseDown("right") MouseUp("right") MouseMove(162,451) MouseDown("left") MouseUp("left") MouseMove(331,371) MouseDown("left") MouseUp("left") MouseMove(348,15) MouseDown("left") MouseUp("left") WinWait("New Text Document - Notepad","") If Not WinActive("New Text Document - Notepad","") Then WinActivate("New Text Document - Notepad","") WinWaitActive("New Text Document - Notepad","") MouseMove(40,144) MouseDown("left") MouseMove(5,145) MouseUp("left") MouseMove(26,149) MouseDown("right") MouseMove(24,149) MouseUp("right") MouseMove(60,202) MouseDown("left") MouseUp("left") WinWait("arnoldbot (Active Available)","User defined button ") If Not WinActive("arnoldbot (Active Available)","User defined button ") Then WinActivate("arnoldbot (Active Available)","User defined button ") WinWaitActive("arnoldbot (Active Available)","User defined button ") MouseMove(166,376) MouseDown("left") MouseUp("left") MouseDown("right") MouseUp("right") MouseMove(214,444) MouseDown("left") MouseUp("left") MouseMove(319,368) MouseDown("left") MouseUp("left") MouseMove(344,13) MouseDown("left") MouseUp("left") WEnd Here's what i have, in the "arnoldbot", how can i change this to respond to any one? Link to comment Share on other sites More sharing options...
Jettison Posted June 28, 2007 Share Posted June 28, 2007 Use Opt("WinTitleMatchMode", 2) at the beginning, then just remove the 'arnoldbot' part from everything and it should work. [font="Impact"]Cats rule, humans drool.[/font] Link to comment Share on other sites More sharing options...
lowriderchevyman Posted June 28, 2007 Author Share Posted June 28, 2007 (edited) Opt("WinTitleMatchMode", 2)(User defined button ") If Not WinActive("User defined button ") Then WinActivate("User defined button ") WinWaitActive(User defined button ") MouseMove(212,370) So like this? Edited June 28, 2007 by lowriderchevyman Link to comment Share on other sites More sharing options...
Jettison Posted June 28, 2007 Share Posted June 28, 2007 What's the (User defined button ") for after the Opt()?.. [font="Impact"]Cats rule, humans drool.[/font] Link to comment Share on other sites More sharing options...
lowriderchevyman Posted June 28, 2007 Author Share Posted June 28, 2007 (edited) user defined button is, is the "send button" after i write the text in the text box. Edited June 28, 2007 by lowriderchevyman Link to comment Share on other sites More sharing options...
Jettison Posted June 28, 2007 Share Posted June 28, 2007 Ok, you'd probably want to add that on a new line instead of directly after Opt() but yeah, that's the general idea. [font="Impact"]Cats rule, humans drool.[/font] Link to comment Share on other sites More sharing options...
lowriderchevyman Posted June 28, 2007 Author Share Posted June 28, 2007 it doesnt respond to the im that way. Link to comment Share on other sites More sharing options...
Jettison Posted June 28, 2007 Share Posted June 28, 2007 Ok, whatever works then [font="Impact"]Cats rule, humans drool.[/font] Link to comment Share on other sites More sharing options...
lowriderchevyman Posted June 28, 2007 Author Share Posted June 28, 2007 as soon as you take the user name out the script won't respond 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