Your Ad Here Your Ad Here
Results 1 to 9 of 9

Thread: How to make a Mirc script

  1. #1
    Poster BT Rep: +2
    Join Date
    Aug 2007
    Posts
    27
    Hi, I need help with irc.

    If I want to join to some channel, I must write:

    /msg invite iNTERNAL .....

    etc...

    How can I make a script for automatic invite and automatic connect to channels? Thanks for answers

  2. Software & Hardware   -   #2
    optimus_prime's Avatar Guardian BT Rep: +2
    Join Date
    Feb 2007
    Posts
    413
    for example add following alias to your remote section
    Code:
    alias inviteme  {
      msg invite iNTERNAL .....
      etc...
    }
    then you join just by typing inviteme
    for automated access add something like
    Code:
    on *:connect: { if (*nameoftheserver* iswm $server) inviteme }
    where nameoftheserver is the name or part of the name of irc server you connect to (for example p2p-network.net)

  3. Software & Hardware   -   #3
    Poster BT Rep: +2
    Join Date
    Aug 2007
    Posts
    27
    Thanks, but I want automatic join... I dont want write for example /inviteme

    etc...

    If i start mirc, i can be automatic joined on channels

  4. Software & Hardware   -   #4
    optimus_prime's Avatar Guardian BT Rep: +2
    Join Date
    Feb 2007
    Posts
    413
    Code:
    on *:connect: { 
    if (*nameoftheserver* iswm $server) 
    { 
    msg invite iNTERNAL ..... 
    etc...
    }
    }
    on *:invite:#nameofchannel:join #nameofchannel

  5. Software & Hardware   -   #5
    Poster BT Rep: +2
    Join Date
    Aug 2007
    Posts
    27
    Thanks

  6. Software & Hardware   -   #6
    DISABLED PRIVS BT Rep: +100BT Rep +100BT Rep +100BT Rep +100BT Rep +100BT Rep +100BT Rep +100BT Rep +100BT Rep +100BT Rep +100BT Rep +100BT Rep +100BT Rep +100BT Rep +100BT Rep +100BT Rep +100BT Rep +100BT Rep +100BT Rep +100BT Rep +100
    Join Date
    Oct 2006
    Location
    Sydney
    Posts
    4,212
    Optimus could you write me a code up for..

    /nick (My nick)
    /msg nickserv identify (my password)
    /msg bot invite (my password)
    /join #(channel)


    and

    /msg nickserv identify (my pass)
    /join (Channel)


    Thanks

  7. Software & Hardware   -   #7
    optimus_prime's Avatar Guardian BT Rep: +2
    Join Date
    Feb 2007
    Posts
    413
    well you can use the same ON CONNECT code.

    Code:
    on *:connect: { 
      if (*server1* iswm $server) { 
        nick (My nick)
        msg nickserv identify (my password)
        msg bot invite (my password)
      }
      if (*server2* iswm $server) { 
        msg nickserv identify (my pass)
      }
    }
    on *:invite:#nameofchannel1,#nameofchannel2:join $chan
    one thing tho, it is better to code identification as a response to bot instead of blind sending messages on connect, you gain more flexibility, and you can change nicks while connected without nagging. like this:

    Code:
    on 1:notice:*type /msg NickServ IDENTIFY password*:*: { 
      if (($network == yournetwork) && ($nick == nickserv)) { 
        if ($me == yournick1) msg nickserv identify yourpassword1 
        if ($me == yournick2) msg nickserv identify yourpassword2
      } 
    }
    for simple stuff, under tools/options/connect/options there is a "perform" button where you can add commands to be performed when connecting for each network separately.

  8. Software & Hardware   -   #8
    DISABLED PRIVS BT Rep: +100BT Rep +100BT Rep +100BT Rep +100BT Rep +100BT Rep +100BT Rep +100BT Rep +100BT Rep +100BT Rep +100BT Rep +100BT Rep +100BT Rep +100BT Rep +100BT Rep +100BT Rep +100BT Rep +100BT Rep +100BT Rep +100BT Rep +100
    Join Date
    Oct 2006
    Location
    Sydney
    Posts
    4,212
    Thanks.

  9. Software & Hardware   -   #9

    Arrow

    /id msg nickserv identify pass

    thats the identifier to use type /id

    /ghost msg nickserv ghost nick pass
    this the nick ghost killer to use type /ghost
    note go to allias in mIRC script editor to use

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •