Skip to content
Sparkpea Chat Network

Need Help With A Code

A TG007 community discussion started by biohazard.

Discussion 6 posts
Page 1 of 1
Open
Topic #10985 · 6 published posts · 3,186 views

i want to be able to call 1 mirc to another and make it join the room that i called it from

 

like this

 

say mirc1 is in testing and i want to call mirc2 to make it start up mirc2 and make it join where i called it from

to make it open from mirc youll most likely havta use $com events

You can use run commands to open it, but to call it to the room is impossible.

like how not for sure how to do this

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
}

i want to be able to call 1 mirc to another and make it join the room that i called it from

 

like this

 

say mirc1 is in testing and i want to call mirc2 to make it start up mirc2 and make it join where i called it from

 

 

:lmaojump: I asked the same question biohazard http://www.tg007.net/forum/index.php?showtopic=10807