Simple Broadcast script

Release your script here.
State:
- Author
- What it does
- Perhaps a little guide.
- Also, if the snippet is of any use to the community, it has a chance of getting posted on the main page, so don't hesitate to submit/ask!

Re: Simple Broadcast script

Postby zNigel- » Mon Aug 17, 2009 3:32 pm

Or you can use this alias:

Code: Select all
;;usage: broadcast message
alias broadcast {
  var %broadcast $1-
  var %x 1
  while (%x <= $comchan($me,0)) {
    msg $comchan($me,%x) [Broadcast] %broadcast
    inc %x
  }
}


Works fine for me :)
zNigel-
 

Re: Simple Broadcast script

Postby Blady » Tue Aug 18, 2009 7:23 am

zNigel wrote:Or you can use this alias:

Code: Select all
;;usage: broadcast message
alias broadcast {
  var %broadcast $1-
  var %x 1
  while (%x <= $comchan($me,0)) {
    msg $comchan($me,%x) [Broadcast] %broadcast
    inc %x
  }
}


Works fine for me :)



This is to by-pass the +T channel mode. He can include this alias in his code and replace .timer X Y msg <message> with .timer X Y broadcast <message>

Regards
Blady
 

Re: Simple Broadcast script

Postby zNigel- » Tue Aug 18, 2009 10:40 am

Blady wrote:
zNigel wrote:Or you can use this alias:

Code: Select all
;;usage: broadcast message
alias broadcast {
  var %broadcast $1-
  var %x 1
  while (%x <= $comchan($me,0)) {
    msg $comchan($me,%x) [Broadcast] %broadcast
    inc %x
  }
}


Works fine for me :)



This is to by-pass the +T channel mode. He can include this alias in his code and replace .timer X Y msg <message> with .timer X Y broadcast <message>

Regards


Yep true. :)
zNigel-
 

Re: Simple Broadcast script

Postby Zodac0de » Wed Aug 26, 2009 6:36 pm

hey!

Thanks for all the help!
But damn, I need to read it sevral times before I do something, for me it's not that easy. xD
In soon future, I hope this script will be done.


Greetings, Zodac0de
Zodac0de
 

Previous

Return to Mirc Scripting Release

Who is online

Users browsing this forum: No registered users and 1 guest

cron