on *:TEXT:!seen*:#:{ if (%seentype [ $+ [ $1 ] ] == text) { /notice $nick 2I last saw3 $1 2saying4 %seen [ $+ [ $1 ] ] - 2In the channel named4 %seenchan [ $+ [ $1 ] ] -7 $duration(%seentime [ $+ [ $1 ] ]) ago! } elseif (%seentype [ $+ [ $1 ] ] == join) { /notice $nick 2I last saw3 $1 2joining the channel4 %seenchan [ $+ [ $1 ] ] -7 $duration(%seentime [ $+ [ $1 ] ]) ago! } elseif (%seentype [ $+ [ $1 ] ] == part) { /notice $nick 2I last saw3 $1 2parting the channel4 %seenchan [ $+ [ $1 ] ] -7 $duration(%seentime [ $+ [ $1 ] ]) ago! } elseif (%seentype [ $+ [ $1 ] ] == quit) { /notice $nick 2I last saw3 $1 2quiting4 %seen [ $+ [ $1 ] ] -7 $duration(%seentime [ $+ [ $1 ] ]) ago! } elseif (%seentype [ $+ [ $1 ] ] == action) { /notice $nick 2I last saw3 $1 2acting4 %seen [ $+ [ $1 ] ] - 2In the channel named4 %seenchan [ $+ [ $1 ] ] -7 $duration(%seentime [ $+ [ $1 ] ]) ago! } elseif (%seentype [ $+ [ $1 ] ] == nick) { /notice $nick 2I last saw3 $1 2changing his nick to4 %seen [ $+ [ $1 ] ] -7 $duration(%seentime [ $+ [ $1 ] ]) ago! } elseif (%seentype [ $+ [ $1 ] ] == $null) { /notice $nick 2I have not seen4 $1 2at all! } }