# HG changeset patch # User Matti Hamalainen # Date 1571755431 -10800 # Node ID 4e19db35cdabf094f63a8557676e36dd550c41c0 # Parent 057e399d86f6e4b0ab36f5e5eb628888233540c5 config.quotedb.examples: Update examples. diff -r 057e399d86f6 -r 4e19db35cdab config.quotedb.example --- a/config.quotedb.example Fri Sep 20 12:29:57 2019 +0300 +++ b/config.quotedb.example Tue Oct 22 17:43:51 2019 +0300 @@ -87,10 +87,17 @@ ### # Bind !quote -command for table "quotedb" -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 - !vitsi vitsi_pub_cmd +bind msg - !vitsi vitsi_msg_cmd +proc vitsi_pub_cmd {unick uhost uhand uchan utext} { qdb_command "!vitsi" "quotedb" $unick $uhost $uhand $uchan $utext 1 "%2 (%1)"} +proc vitsi_msg_cmd {unick uhost uhand utext} { qdb_command "!vitsi" "quotedb" $unick $uhost $uhand "" $utext 0 "%2 (%1)"} + + +# Bind !quote -command for table "kissa" +bind pub - !kissa kissa_pub_cmd +bind msg - !kissa kissa_msg_cmd +proc kissa_pub_cmd {unick uhost uhand uchan utext} { qdb_command "!kissa" "kissadb" $unick $uhost $uhand $uchan $utext 1 "kissa %2 (%1)"} +proc kissa_msg_cmd {unick uhost uhand utext} { qdb_command "!kissa" "kissadb" $unick $uhost $uhand "" $utext 0 "kissa %2 (%1)"} bind pub - !spede spede_pub_cmd