tglogo.png
0 LIKES

Snippet


Personal on join greet by Errr

In Category General IRC Posted by Snippets On 12/04/23
Tags: Onjoin greet Errr 

PERSONAL ON JOIN GREET WITH CHANNEL CONTROL

It will sent a message to the channel when you join a specified channel This Script will send a message to the channels on join and will determine whether to say good-morning, afternoon or evening by the time of the day you are joining. You can add the channel/channels you want to send an on join message to.

Installation Step 1 copy paste the following script in you remote Step 2 /set %ch #your-channel,#your-channel1,#your-channel3...

you can edit/add more channels via mIRC later.

This is a modified version of Zer0Velocity's greet script
on ME:*:JOIN:%ch: {
  if $asctime(HH:nn:ss) >= 05:00:00 && $asctime(HH:nn:ss) <= 11:59:59 goto 2
  if $asctime(HH:nn:ss) >= 12:00:00 && $asctime(HH:nn:ss) <= 16:59:59 goto 3  
  if $asctime(HH:nn:ss) >= 17:00:00 && $asctime(HH:nn:ss) <= 23:59:59 goto 4
  if $asctime(HH:nn:ss) >= 00:00:00 && $asctime(HH:nn:ss) <= 04:59:59 goto 4 
  halt
  :1
  halt
  :2
  timer 1 2 msg $chan Good morning everyone ;) 
  halt 
  :3
  timer 1 2 msg $chan Good afternoon everyone ;) 
  halt 
  :4
  timer 1 2 msg $chan Good evening everyone ;)
  halt
}


Comments 0


Please note that on our website we use cookies necessary for the functioning of our website, cookies that optimize the performance. To learn more about our cookies, how we use them and their benefits, please read our Cookie Policy.
I Understand