Max's Quote Dialog
mIRC Code
+ 0 likes
Please Register to submit score.
| Average Score | 0.0 (of 0 scores) |
| Date Added | May 18, 2009 |
| Last Updated | May 29, 2009 |
| Tags | dialog quote socket |
Introduction

This is another quote script for my collection. I made this to test using simple sockets in dialogs. And seeing as it worked fine, and pretty decent. Here it is.
It's obvious how it works. When you open the dialog, it'll show a quote, just click "Get another quote" to refresh the quote. You can send the quote to the channel, or to send it in a query to someone specific. To send a query to someone, just type their nick in the textbox and click "Send to nick".
Have fun with it. =]
mIRC Snippet:
Max's Quote Dialog
Posted on May 18, 2009 4:04 am
Posted on May 18, 2009 4:04 am
hi
for "button "Close Dialog", 7, 84 95 34 9, ok cancel" put only ok or cancel like this
for the alias htmlfree u can do this
for dialog event u have be sur if $active is a chan and the id 5 isnt empty and u can replace $did(Quote,2).text to only $did(2) so
attention!! dont use a "*" into menu
must be menu status,nicklist,menubar becose if u have a game coded with picwin u will get "Max's Quote Dialog" into the menu and that is not good
for "button "Close Dialog", 7, 84 95 34 9, ok cancel" put only ok or cancel like this
| Code: |
| button Close Dialog, 7, 84 95 34 9, ok |
for the alias htmlfree u can do this
| Code: |
| alias -l htmlfree return $regsub($1-,/(^[^<]*>|<[^>]*>|<[^>]*$)/g,) |
for dialog event u have be sur if $active is a chan and the id 5 isnt empty and u can replace $did(Quote,2).text to only $did(2) so
| Code: |
| on *:Dialog:Quote:sclick:*:{ if ($did == 3) { qdialog | unset %quot* %author } elseif (($did == 4) && ($active == #)) msg $v1 $did(2) elseif (($did == 6) && ($did(5))) msg $v1 $did(2) } |
attention!! dont use a "*" into menu
must be menu status,nicklist,menubar becose if u have a game coded with picwin u will get "Max's Quote Dialog" into the menu and that is not good
mIRC Snippet:
Max's Quote Dialog
Posted on May 18, 2009 9:46 pm
Posted on May 18, 2009 9:46 pm
I like it although the buttons seem a little small for the words in them, they look somewhat smushed together.
mIRC Snippet:
Max's Quote Dialog
Posted on May 18, 2009 10:25 pm
Posted on May 18, 2009 10:25 pm
I'll fix the buttons. I need to re-arrange the dialog too.
mIRC Snippet:
Max's Quote Dialog
Posted on May 19, 2009 11:21 pm
Posted on May 19, 2009 11:21 pm
I edited the dialog and made it a bit smaller, and made the button size bigger.
mIRC Snippet:
Max's Quote Dialog
Posted on May 29, 2009 11:21 am
Posted on May 29, 2009 11:21 am
Added clipboard button to copy the quote to the clipboard for sharing with friends or family (or anyone else). =]







