All pastes #438209 Raw Edit

Stuff

public text v1 · immutable
·published 2007-04-13 14:19 UTC
rendered paste body
bind pub - !info echo:info



proc echo:info { nick uhost handle chan arg } {



#set m accessable

 global m



#set the release name

  set rls [lindex $arg 0]



#set the number of files

  set files [lindex $arg 1]



#set the size of the release

  set size [lindex $arg 2]


#set the mysql query up

  set infoquery "UPDATE `release` SET `size` = '$size', `files` = '$files' WHERE `name` = '$rls' LIMIT 1"


#execute mysql query

  mysqlexec $m $infoquery



#close mysql query 

  mysqlendquery $m

 }