mIRC Home    About    Download    Register    News    Help

Topic Options
#201254 - 23/06/08 07:17 PM Say on Multiple Networks
Zack45668 Offline
Self-satisified door

Registered: 26/05/08
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.


#201259 - 23/06/08 08:52 PM Re: Say on Multiple Networks [Re: Zack45668]
Tomao Offline
Hoopy frood

Registered: 07/07/07
Posts: 1129
Loc: United States
Perhaps something like this:

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