Skip to content
TG007 community snippet #102

Eggdrop Auto reply by Errr

Eggdrop auto reply if anybody pm your bot it will reply to that user with assigned messages

By Snippets Added Dec 4, 2023
General IRC All snippets
mIRC script 31 lines
About this snippet

Overview

Eggdrop auto reply

if anybody pm your bot it will reply to that user with assigned messages
Source code

mIRC script

31 lines · 1,163 characters
#=======================================================#
#Timer for reply. Bot will take time to reply the DM.   #
#In seconds ( well 60 seconds in a minute. LOL )        #
#=======================================================#

set rplytimer 10

#=======================================================#
#The messages can be edited as you like. Just put them  #
#in "" and keep it in order. if you fuck it up dont say #
#to people this script dont work. =)                    #
#=======================================================#

set autorply {
"Im a Functional Alcoholic but not Functioning atm @;"
"Yes Im here"
"What do you want?"
}

#========================================================#
#You can edit this if you are big boy!. im just a        #
#plebeian.                                               #
#========================================================#

bind msgm - * msgm:reply

proc msgm:reply {nick host hand text} {
 global autorply rplytimer
 utimer $rplytimer  [list puthelp "PRIVMSG $nick :Hello $nick [lindex $autorply [rand [llength $autorply]]]"]
}
putlog "autoreply.tcl 0.1 by Error loaded"
Community

Comments

Want to join the discussion? Sign in to TG007.
No comments yet. Start the discussion.