Someone
public text v1 · immutablemenu channel {
.channel greet
..Reset:/setnew
..Show Current Total Joins ( public ): /msg $chan 7Since %totaldate $+ 9 %totalusers 7people have joined $chan
.-
}
alias /setnew {
/set %totaldate $date
/unset %totalusers
}
on *:JOIN:#: {
if ($($+(%,join,$chan),2) == on) {
inc %totalusers 1
.notice $nick Welcome to $chan ! I hope you enjoy your stay!
}
}
on $*:TEXT:/^!greet(on|off)$/Si:#:{
if ($right($1,-6) == off) .unset $+(%,join,$chan)
else .set $+(%,join,$chan) on
}