mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Aug 2006
Posts: 3
K
Kyosho Offline OP
Self-satisified door
OP Offline
Self-satisified door
K
Joined: Aug 2006
Posts: 3
Hey...

I would like to know how i can send auto random messages with a timer (1500 or something)

ty []

Joined: Jan 2003
Posts: 3,012
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
Create a text file in your mIRC directory (use /run . in your textbox to get there) named messages.txt, add your messages there with one per line then save the file, then use the following:

Code:
alias rmsg {
  var %txt = messages.txt, %delay = 1500
  if ($2 == off) .timer [ $+ [ $1 ] ] off
  else {
    /msg $1 $read(%txt)
    .timer [ $+ [ $1 ] ] 1 %delay /rmsg $1
  }
}


usage: /rmsg #channel
Where #channel is the channel you'd like it to message to. To disable use: /rmsg #channel off


-KingTomato
Joined: Aug 2006
Posts: 3
K
Kyosho Offline OP
Self-satisified door
OP Offline
Self-satisified door
K
Joined: Aug 2006
Posts: 3
Ty for your help.

I just don't understand this "(use /run . in your textbox to get there)"

Btw.. the code goes into remote or aliases.

[]

Joined: Aug 2006
Posts: 3
K
Kyosho Offline OP
Self-satisified door
OP Offline
Self-satisified door
K
Joined: Aug 2006
Posts: 3
Allright .. it's done:)

Ty a lot


Link Copied to Clipboard