Results 1 to 3 of 3

Thread: /halfop on mIRC

  1. #1
    Junior Member hoboX10's Avatar
    Join Date
    Mar 2009
    Location
    Houston
    Posts
    12

    Default /halfop on mIRC

    If you go to Tools >> Scripts Editor, and click the Aliases tab, you can make /commands to shorten things like identifying or changing to a specific nickname.

    Since mIRC doesn't have a /hop or a /h command, I want to make a /halfop <nick> command. I'm doing it like so:
    Code:
    /halfop /mode (get channel being entered on) +h $$1
    I don't know how to get the channel that the code is being entered on, or if it's even possible. I'm a complete noob at this IRC scripts thing. :P

    Could anyone help me out please?

  2. #2
    Rizon Staff Gemini's Avatar
    Join Date
    Jul 2008
    Location
    Under your bed
    Posts
    234

    Default

    Quote Originally Posted by mIRC help files
    $chan
    Returns the name of the channel for a specific event. For all non-channel events $chan will be $null.

    So you can use $chan for that.
    Alternatively, if you look at what's already there, for example: /op /mode # +ooo $$1 $2 $3
    you will see that # works as well as # refers to the channel you are currently on.
    Gemini
    Rizon Help Team - vHost Team - kline Team
    Gemini@rizon.net

  3. #3
    Junior Member hoboX10's Avatar
    Join Date
    Mar 2009
    Location
    Houston
    Posts
    12

    Default

    Quote Originally Posted by Gemini View Post
    So you can use $chan for that.
    Alternatively, if you look at what's already there, for example: /op /mode # +ooo $$1 $2 $3
    you will see that # works as well as # refers to the channel you are currently on.
    I can't believe I didn't see that /op thing. That's how I made the other ones I did, looking what's already there.

    Thanks.

Similar Threads

  1. mIRC Colors
    By Zericho in forum IRC client scripts and addons
    Replies: 2
    Last Post: 06-27-2010, 05:15 AM
  2. mIRC: WHOIS script
    By darkex in forum IRC client scripts and addons
    Replies: 0
    Last Post: 10-14-2009, 07:35 PM
  3. Your favorite mIRC scripts
    By Locotes in forum IRC client scripts and addons
    Replies: 3
    Last Post: 04-25-2009, 09:57 AM
  4. New to mIRC? Read this.
    By Annie in forum mIRC help
    Replies: 0
    Last Post: 08-01-2008, 12:07 AM

Posting Permissions

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