Jump to content
coders-irc_Bot

Auto Greet

Recommended Posts

  • Administrators
;remotes
;usage: /agreet <nick> <message>
;will only activate one every 5 seconds for each nick. remove the set line to disable it.
on *:join:#coders-irc-lounge: { 
  var %e $+($nick,.txt)
  if ($read(%e) && !%flood. [ $+ [ $nick ] ]) {
    echo -a $readn
    msg # $read(%e, $rand(1,$readn))
    set -u5 $+(%,flood,.,$nick) 1
  }
}
alias agreet {
  write -a $+($1,.txt) $2- 
}

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


×
×
  • Create New...