Jump to content

Need Help With A Code


biohazard

Recommended Posts

It can be done, but you'll have to have to do something simular to this...

 

[b]For Bot 1:[/b]
on *:TEXT:*:*: {
  if ($strip($1) == !botjoin) && (%naccess. [ $+ [ $ial($nick).addr) {
    write C:\Bot2\botjoin.txt $server $chan
    run C:\Bot2\mirc.exe
  }
}

[b]For Bot 2[/b]
on *:START: {
  if ($exists($nofile($mircexe) $+ Botjoin.txt)) server $gettok($read($nofile($mircexe) $+ Botjoin.txt),1,32)
}

on *:CONNECT: {
  if ($exists($nofile($mircexe) $+ Botjoin.txt)) {
    join $gettok($read($nofile($mircexe) $+ Botjoin.txt),2,32)
    .remove $read($nofile($mircexe) $+ Botjoin.txt
}

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
×
×
  • Create New...