alias add { .writeini join.ini Join $1 $2- | .echo -a ** Added $1 ( $+ $2- $+ ) to auto greet list. }
;/add Joe Hello Joe good to see you......
alias rem { .remini join.ini Join $1 | .echo -a ** Removed $1 from auto greet list. }
;/rem Joe
on !*:JOIN:#: {
;Checks whether $nick has an auto-greet profile.
if ($readini(join.ini,Join,$nick)) {
;$nick does have an auto-greet profile.
msg $chan $readini(join.ini,Join,$nick)
halt
}
}