mIRC Home    About    Download    Register    News    Help

Print Thread
#15977 18/03/03 07:18 PM
Joined: Mar 2003
Posts: 2
P
popadot Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
P
Joined: Mar 2003
Posts: 2
hi people i have bin looking for a message bot for ages now and cant seem to find one i know there r a few wot i want it to do is basicaly i would have a bot or a script that would send a message to a channel that i was in or a channel i choose if and it would be on a timer so it would send the message to the channel say every 10 minutes or wot ever time i choose if anyone can help me with this plz i would be most grateful if u would like to talk to me about this thanks in advance

#15978 18/03/03 07:47 PM
Joined: Dec 2002
Posts: 774
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Dec 2002
Posts: 774
/help /timer


Code:
//if ( khaled isgod ) echo yes | else echo no
#15979 18/03/03 11:09 PM
Joined: Dec 2002
Posts: 417
O
Fjord artisan
Offline
Fjord artisan
O
Joined: Dec 2002
Posts: 417
This is not a msg bot but it will allow you to send messages to a channel Here is your code to send messages, notices and Amsg Edit as seen fit.

Code:
  [color:red]
menu channel,status {
  Timed Messages
  .Ad Amsg
  ..Channel Amsg Ad %chnad1 :{ if ( %chnad1 == ON ) { set %chnad1 OFF | stopad1 | echo -a 1 »14»15»12 Channel Amsg Ad4 Disabled } | else { set %adchan1 # | set %chnad1 ON | startad1 | echo -a 1 »14»15»12 Channel Amsg Ad4 Enabled } | { Halt } }
  ..-
  ..Set Amsg Ad: set %ad1 $$?"Enter Channel Message"
  ..-
  ..Current Ad
  ... %ad1 : /halt
  .-
  .Ad Msg
  ..Channel Msg Ad %chnad2 :{ if ( %chnad2 == ON ) { set %chnad2 OFF | stopad2 | echo -a 1 »14»15»12 Channel Msg Ad4 Disabled } | else { set %adchan2 # | set %chnad2 ON | startad2 | echo -a 1 »14»15»12 Channel Msg Ad4 Enabled } | { Halt } }
  ..-
  ..Set Msg Ad: set %ad2 $$?"Enter Channel Message"
  ..-
  ..Current Ad 
  ... %ad2 : /halt
  .-
  .Ad Notice
  ..Channel Notice Ad %chnad3 :{ if ( %chnad3 == ON ) { set %chnad3 OFF | stopad3 | echo -a 1 »14»15»12 Channel Notice Ad4 Disabled } | else { set %adchan3 # | set %chnad3 ON | startad3 | echo -a 1 »14»15»12 Channel Notice Ad4 Enabled } | { Halt } }
  ..-
  ..Set Ad: set %ad3 $$?"Enter Channel Message"
  ..-
  ..Current Ad 
  ... %ad3 : /halt
}
alias -l startad1 { 
  if (%ad1 = $null) { 
    echo -a 1 »14»15» 12You Must Set Your Ad4.... 
    halt 
  } 
  amsg 9,1-={8 %ad1 9,1}=- 
  .timerad1 0 300 adtmr1 
}
alias -l startad2 {
  if (%ad2 = $null) { echo -a 1 »14»15» 12You Must Set Your Ad4.... | halt }
  msg %adchan 9,1-={8 %ad2 9,1}=-
  .timerad2 0 300 adtmr2
}
alias -l startad3 {
  if (%ad3 = $null) { echo -a 1 »14»15» 12You Must Set Your Ad4.... | halt }
  notice %adchan 9,1-={8 %ad3 9,1}=-
  .timerad3 0 300 adtmr3
}
alias -l stopad1 {
  if ($timer(adtmr1) = $null) { halt }
  echo -a 1 »14»15» 12Ad Timer #1 Has Stopped4....
  .timerad1 off
}
alias -l stopad2 {
  if ($timer(adtmr2) = $null) { halt }
  echo -a 1 »14»15» 12Ad Timer #2 Has Stopped4....
  .timerad2 off
}
alias -l stopad3 {
  if ($timer(adtmr3) = $null) { halt }
  echo -a 1 »14»15» 12Ad Timer #3 Has Stopped4....
  .timerad3 off
}
alias -l adtmr1 { amsg 9,1-={8 %ad1 9,1}=- }
alias -l adtmr2 { msg %adchan2 9,1-={8 %ad2 9,1}=- }
alias -l adtmr3 { notice %adchan3 9,1-={8 %ad3 9,1}=- }

  [/color]  




Intelligence: It's better to ask a stupid question, then to prove it by not asking....

Link Copied to Clipboard