Personal on join greet

By Errr on Nov 19, 2021

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.

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
}

This is a modified version of Zer0Velocity's greet script

Comments

Sign in to comment.
simo   -  Nov 23, 2021

on ME:*:JOIN:#test:{ .timer $+ ChanGreeter. $+ $chan 1 3 msg $unsafe($chan) $iif($asctime(H) < 06, good night,$iif($asctime(H) < 12, good morning,$iif($asctime(H) < 18,good afternoon,good evening))) }

Errr  -  Nov 23, 2021

could you be bit more clear..also this script it still under develop..i want to add network based channel ;P

Sign in to comment

Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.