rendered paste bodyputlog "\002\00304Echo SEND Module Loaded"
############################################################################
set ::last_addpre ""
set ::last_nuke ""
set ::last_unnuke ""
set ::last_info ""
set ::last_genre ""
###
### !addpre ###
###
bind pub - !addpre pub:addpre
proc pub:addpre {nick host hand chan arg} {
set bits [split $arg " "]
if { $::last_addpre == [lindex $bits 0] } { return 0 }
set ::last_addpre [lindex $bits 0]
set rls [lindex $arg 0]
set section [lindex $arg 1]
putallbots "echopre $rls $section"
}
###
### !nuke ###
###
bind pub - !nuke pub:nuke
proc pub:nuke {nick host hand chan arg} {
set bits [split $arg " "]
if { $::last_nuke == [lindex $bits 0] } { return 0 }
set ::last_nuke [lindex $bits 0]
set rls [lindex $arg 0]
set reason [lindex $arg 1]
putallbots "echonuke $rls $reason"
}