mIRC Home    About    Download    Register    News    Help

Print Thread
#201254 23/06/08 06:17 PM
Joined: May 2008
Posts: 3
Z
Self-satisified door
OP Offline
Self-satisified door
Z
Joined: May 2008
Posts: 3
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

Joined: Jul 2007
Posts: 1,129
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Jul 2007
Posts: 1,129
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


Link Copied to Clipboard