All that script does is save a variable, what you do with that variable is up to you. E.g you could make it
Code:
on *:DIALOG:config:sclick:17:{
  set %dag $did(1)
  nick %dag
}

to make it change your name to whatever you put in the Nick Name edit box.