Author Topic: Connecting a new bot to the server, which joins a channel  (Read 266 times)

King_Hual

  • Trial Moderator
  • Newbie
  • ***
  • Posts: 36
  • Reputation +3/-2
    • View Profile
Connecting a new bot to the server, which joins a channel
« on: February 11, 2011, 03:21:21 pm »
First, If you use my owner system:
Code: [Select]
on owner:TEXT:!connecth*:#:{
  if ($2 == $null || $3 == $null) {
    notice $nick Syntax: !connecth < Name of bot > < Channel to join >
  }
  else {
    server -m $server -i $me $+ ` $+ $$2 -j $$3
    notice $nick Bot $$2 Connected and joined $$3
  }
}

Or if you don't use my owner system:
Code: [Select]
on *:TEXT:!connecth*:#:{
  if ($nick == yournamehere) {
    if ($2 == $null || $3 == $null) {
      notice $nick Syntax: !connecth < Name of bot > < Channel to join >
    }
    else {
      server -m $server -i $me $+ ` $+ $$2 -j $$3
      notice $nick Bot $$2 Connected and joined $$3
    }
  }
}

Share on Bluesky Share on Facebook


Jane

  • Management
  • Full
  • *******
  • Posts: 130
  • Reputation +1/-0
  • mIRC Scripters
    • View Profile
You Mean idle bots King ?

Hamo

  • Trial Moderator
  • Newbie
  • ***
  • Posts: 16
  • Reputation +0/-1
  • Me
  • Location: Egypt
    • View Profile
like it :D