# HG changeset patch # User Matti Hamalainen # Date 1315780860 -10800 # Node ID a8278d55c6dbe9b833ca4712b3e85aa19b45d4af # Parent fa1e95c2a0bc15cf7a4d7154c202a6a2cb8eae7b quotedb: Add in !quote command. diff -r fa1e95c2a0bc -r a8278d55c6db quotedb.tcl --- a/quotedb.tcl Sun Sep 11 19:39:40 2011 +0300 +++ b/quotedb.tcl Mon Sep 12 01:41:00 2011 +0300 @@ -58,10 +58,10 @@ # EXAMPLE! -#bind pub - !quote spede_pub_cmd -#bind msg - quote spede_msg_cmd -#proc quote_pub_cmd {unick uhost uhand uchan utext} { qdb_command "!quote" "quotedb" $unick $uhost $uhand $uchan $utext 1 } -#proc quote_msg_cmd {unick uhost uhand utext} { qdb_command "quote" "quotedb" $unick $uhost $uhand "" $utext 0 } +bind pub - !quote quote_pub_cmd +bind msg - quote quote_msg_cmd +proc quote_pub_cmd {unick uhost uhand uchan utext} { qdb_command "!quote" "quotedb" $unick $uhost $uhand $uchan $utext 1 } +proc quote_msg_cmd {unick uhost uhand utext} { qdb_command "quote" "quotedb" $unick $uhost $uhand "" $utext 0 } bind pub - !spede spede_pub_cmd