All pastes #185374 Raw Edit

Someone

public text v1 · immutable
#185374 ·published 2006-09-28 21:53 UTC
rendered paste body
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!) }
}