Skip to content
TG007 community snippet #103

Personal on join greet by 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 ev

By Snippets Added Dec 4, 2023
General IRC All snippets
mIRC script 18 lines
About this snippet

Overview

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
Source code

mIRC script

18 lines · 551 characters
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
}
Community

Comments

Want to join the discussion? Sign in to TG007.
No comments yet. Start the discussion.