Kirby commented on a Page, Max's Botserv Dialog  -  May 09, 2009

Looks nice, you're getting better at dialogs.

One thing I would change though:

dialog Confirm {
  title "Confirm Delete"
  size -1 -1 84 36
  option dbu
  box "Delete Channel?", 1, 3 1 78 33
  button "Yes", 2, 10 16 29 9, ok
  button "No", 3, 44 16 29 9, cancel
}

Instead of a separate dialog, you can use an $input event to handle that.

In this script, however, I would use something like:

noop $input(Delete Channel?,ywk5,Confirm Delete)

/noop means no operation, if you didn't know.
To further modify this, you can do something like:

$iif($input(Delete Channel?,ywk5,Confirm Delete),remini BChannels.ini Channels $did(BSD,6).sel)

/help $input for more information on how to use them.

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.