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 !! I am run by sir_sonic12. If you have any questions pm him or come to #l0v3 for help. Type !leave for me to leave.(bot still in work. Type !commandlist to see a list of commands! }
else { ///notice $nick Hi there $nick , welcome to $chan !! I am run by sir_sonic12. If you have any questions pm him or come to #l0v3 for help. Type !leave for me to leave.(bot still in work. Type !commandlist to see a list of commands! }
}