Results 1 to 2 of 2

Thread: mIRC scripting help

  1. #1

    Default mIRC scripting help

    I've got some scripts that trigger upon a certain expression, and when other people trigger it, it works fine, but I can't trigger it myself. How can I trigger my script itself? Here, I'll post it. (Yes, it's the !vin_diesel one. )

    Code:
    on 1:TEXT:!vin_diesel*:#:{
      //msg # http://www.4q.cc/vin/index.php
    }
    Also, how do I get welcome messages to work? I have this one:
    Code:
    Kirobaito:*!*Kirobaito@*.aol.com
    
    on @Kirobaito:JOIN:#:{
      //msg # * Kirobaito has quit IRC (Ping timeout)
    }
    which is supposed to set a usergroup and then refer to it, but it never works.

  2. #2
    Hypnotising you crono_logical's Avatar
    Join Date
    May 2001
    Location
    Back in Time
    Posts
    9,313
    Contributions
    • Former Administrator
    • Former Cid's Knight

    Default

    First one: You can't trigger it yourself - they're in remotes because they're triggered remotely i.e. by other people You can get around that though by putting everything into an alias instead, and have the trigger call the alias rather than do the actual work:

    Code:
    alias yayfun {
      kick $chan $nick >:}
    }
    
    on *:TEXT:*:#eoff:{
      yayfun
    }

    Second one: User definitions belong in Users, not in Remotes. Also, you stuck an @ in front, meaning it'll only trigger if KB joins opped. Since no-one ever joins channels opped (they get opped after joining), it'll never trigger
    Problems playing downloaded videos? Try CCCP


Posting Permissions

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