on *:TEXT:!setgreet *:#:{
/write -ds $+ $nick setgreet.txt
/write setgreet.txt $nick $2-
/set %greetmsg [ $+ [ $nick ] ] on
/notice $nick 10Your greet message has been added.
}
on !*:join:#: {
if (%greetmsg [ $+ [ $nick ] ] != $null) {
/msg $chan [ $+ $nick $+ ] $read(setgreet.txt, s, $nick)
//notice $nick Hi there $nick , welcome to $chan !! Type !leave liar_bot for me to leave.(bot still in workish. Type !commandlist to see a list of commands! }
else { ///notice $nick Hi there $nick , welcome to $chan !! Type !leave liar_bot for me to leave.(bot still in work. Type !commandlist to see a list of commands!) }
}