yeah its prety simple actually...:
on *:load:{
writeini theme.ini theme %time1 .<<
writeini theme.ini theme %nick1 >>.
}
on ^*:text:*:#:{
var %b = $nick
echo $chan $readini(theme.ini, theme, %time1) $+ $timestamp $+ $readini(theme.ini, theme, %time1) $readini(theme.ini, theme, %nick1) $+ %b $+ $readini(theme.ini, theme, %nick1) $1-
}
on *:dialog:textthemev1:edit:*:{
if $did == 1 { writeini theme.ini theme %time1 $did(1) }
if $did == 5 { writeini theme.ini theme %nick1 $did(5) }
}
and add it to your button in the same manner although it writes to the ini with edit already....

-cheers