Jump to content

send multi lines or text to Mirc


GB47
 Share

Recommended Posts

hi every body

i'm trying to make a bot

and i wanna run cmd command in the bot like

.cmd dir

but i don't now how i do

and this is for process list

func processlist()
$list = ProcessList()
for $i = 1 to $list[0][0]
    sleep(10)
_IRCSendMessage($SKS,$list[$i][0] &" "&$list[$i][1],$channel2)
sleep(10)
Next
End func

so plz i need help to make this bot

i nedd to make the bot send to IRC channel all Results of the command

Edited by GB47
Link to comment
Share on other sites

Many people see word bot and assume the worst, when in a lot of cases it's just a term for automation which is what AutoIt was designed to do.

Kylomas is just asking you to read the rules so you can be sure you're not breaking them.

Post what code you have, and try to better explain what you are trying.

AutoIt Absolute Beginners    Require a serial    Pause Script    Video Tutorials by Morthawt   ipify 

Monkey's are, like, natures humans.

Link to comment
Share on other sites

when i write in cmd line "dir" for example is give me

Directory of C:\Users\GB47

08/22/2013  05:09 PM    <DIR>          .
08/22/2013  05:09 PM    <DIR>          ..
08/24/2013  01:38 PM    <DIR>          Desktop
08/22/2013  11:23 AM    <DIR>          Favorites
08/22/2013  03:24 PM    <DIR>          My Documents
08/24/2013  01:08 PM             1,373 SciTE.session
08/22/2013  11:37 AM    <DIR>          Start Menu
               1 File(s)          1,373 bytes
               6 Dir(s)  89,878,269,952 bytes free

i want to the bot send me results to IRC channel

 

sorry for my bad english  :argue:

i hope u understand me

Link to comment
Share on other sites

Here are some basic functions you need to study to complete your goal.

Learn them individually from their examples in the help file and then try to string them together.

Run()
StdoutRead()
WinActivate()
ControlSend() Or Send()

You can click on them to see the documentation for each.

AutoIt Absolute Beginners    Require a serial    Pause Script    Video Tutorials by Morthawt   ipify 

Monkey's are, like, natures humans.

Link to comment
Share on other sites

  • 2 weeks later...

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...