mIRC Homepage
Posted By: Zack45668 Say on Multiple Networks - 23/06/08 06:17 PM
I have a script that says twitters but I want to make my bot say it in 3 other networks. How would I go about doing that. (Can't be an amsg b/c my bot is not only in my rooms.) Any help would be appreciated.

-Zack
Posted By: Tomao Re: Say on Multiple Networks - 23/06/08 07:52 PM
Perhaps something like this:

Code:
alias talk {
  if ($network == network name here) { 
    var %n = $scon(0)
    while %n { 
      if ($scon(%n).network == second network name here) && ($scon(%n).network == third network name here) {
        scon %n amsg Twitters | return
      }
      dec %n
    }
  }
}


Then type /talk to trigger the script
© mIRC Discussion Forums