proc nuke {nick uhost hand channel arg} {
set linkbotstatus [islinked "linkbot"]
      sql selectdb pre 
	putlog "-->Nuke command used by $nick at $channel"
	set old [lindex [split $arg] 0]
	set reason [lindex [split $arg] 1]
	if {[string tolower $channel] == "#chan1" || [string tolower $channel] == "#chan2" || [string tolower $channel] == "#chan5" || [string tolower $channel] == "#chan3" || [string tolower $channel] == "#chan4"} {
      sql query "UPDATE pre SET nukereason=('$reason') WHERE title=('$old')"
      sql query "UPDATE pre SET nuketime=('[unixtime]') WHERE title=('$old')"
	if {$linkbotstatus == 1} {
	putbot linkbot "botnet say #channel \00310\(\002\0034N.U.K.E\00310\002)\00312 » \00310\002$old\002\00312 » \002\0034Why:\003\002 »» \00310\002 $reason \002\003"
	}
	sql endquery
	}
}