RubixCube commented on a Page, Another Auto-Join  -  Sep 29, 2007

Pros:

  • efficient and easy to use
  • Original =)

Cons:

  • Setting unnecessary variables
  • Doesn\'t check if the the dialog is in use when opening.

Use local variables: var %ajs 1 and var %ajd 1. You can also create an alias that opens the dialog: alias aj.open { if (!$dialog(aj)) dialog -md aj aj } <- That\'s just an example. Sometimes it\'s easier to type the alias. On average, this is a really nice snippet. Good job.

 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.