Code:
on *:DIALOG:first:init:0:{
  systems
}

should make it run /systems when the dialog is opened.