alias config {
	echo $G The following questions will set up the script.
	input_char "Do you want auto away on (y/n): " if ([$0]==[Y] || [$0]==[N]) {@ ev.aaw = [$fixyn($0)]}
	input "How many minutes before auto away \($ev.aaw.time\)? " if (isdigit($0)) {@ ev.aaw.time = [$0]}
	input "Away message \($truns(15 $ev.awaymsg)\): " if ([$0]) {@ ev.awaymsg = [$0-]}
	input_char "Set up themes? (y/n): " if ([$0]==[Y]) {
		wait -cmd input "Public theme \(${ptheme}\): " if ([$0]) {@ ptheme = [$0]}
		wait -cmd input "Action theme \(${atheme}\): " if ([$0]) {@ atheme = [$0]}
		wait -cmd input "Whois theme \(${wtheme}\): " if ([$0]) {@ wtheme = [$0]}
		wait -cmd input "Status theme \(${btheme}\): " if ([$0]) {@ btheme = [$0]}
		wait -cmd input "Channel names theme \(${stheme}\): " if ([$0]) {@ stheme = [$0]}
		wait -cmd input "Dcc list theme \(${dtheme}\): " if ([$0]) {@ dtheme = [$0]}
		wait -cmd input "Nick completion theme \(${ntheme}\): " if ([$0]) {@ ntheme = [$0]}
		wait -cmd input "Interface theme \(${ftheme}\): " if ([$0]) {@ ptheme = [$0]}
		wait -cmd input "Color theme \(${theme}\): " if ([$0]) {@ theme = [$0]}
		wait -cmd input "Cdcc list theme \(${ltheme}\): " if ([$0]) {@ ltheme = [$0]}
		wait -cmd input "Message theme \(${mtheme}\): " if ([$0]) {@ mtheme = [$0]}
		wait -cmd input "Away theme \(${xtheme}\): " if ([$0]) {@ xtheme = [$0]}
		wait -cmd input "Version theme \(${vtheme}\): " if ([$0]) {@ vtheme = [$0]}
	}
	input_char "Save settings? (y/n): " if ([$0]==[Y]) {^esave}{echo $G To save any anytime, ${hw}/esave${x}}
}
