mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Oct 2006
Posts: 8
S
Solis Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
S
Joined: Oct 2006
Posts: 8
I would like my bot to deliver a welcome message main screen in the chat room every time a new chatter comes in. I have looked through all the topics but couldn't find anything. Is there a code to be put in? If so what is it and where do I put it in the script editor?

Please help

Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
This has to be one of the most requested items I've seen.
Since this is a scripting situation, you should've been able to find something in the Scripts & Pop-ups forum. Please note that the default time period for searches is within the past week, so to get decent results, you would've had to expand that (I usually suggest changing week to year).
In any case, here's the code that I use. The code goes into your Remotes section (Alt+R)
Code:
 on !*:join:#:{
  .hinc -m Joins $+($chan,.,$address)
  describe # Welcomes4 $nick to12 $chan for the $ord($hget(Joins,$+($chan,.,$address))) time
}
on *:exit:{
.hsave Joins Joins.hsh
}
on *:disconnect:{
.hsave Joins Joins.hsh
}
on *:start:{
if !$hget(Joins) { .hmake Joins 10 }
if $exists(Joins.hsh) { .hload Joins Joins.hsh }
}
 


Link Copied to Clipboard