Pangaea, see the code:
menu nicklist {
Timed Message! { dialog -m timed timed }
}
That means that an option called \'Timed Message!\' is what you click, after right clicking on a nickname. The on *:dialog:timed:sclick:6: is just a way for the script to react to you pressing button number 6 in the dialog.