drop table users; drop table knowledge; drop table words; drop table replies; drop table actions_0r; drop table strings; drop table nicknames; drop table aliases; create table users ( id text, nick text, words integer, lines integer, w0rds integer, isaway bool default false, awaymsg text, lastlogin timestamp, lasthost text ); create table knowledge ( trigger text, reply text, hilfsverb text ); create table words ( word text, is_0r boolean, is_action boolean ); create table replies ( template text, probability real ); create table actions_0r ( template text, probability real default 0.1 ); create table strings ( name text, value text ); create table nicknames ( from_nick text, extension text, probability real default 1 ); create table aliases ( nick text, alias text );