Advertisement
SaNCaK

mIRC Msg Box

Feb 1st, 2014
408
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 0.59 KB | None | 0 0
  1. ;syntx ………. /msgbox title text@message text ]
  2. ;i.e ………….. /msgbox Error@You must specify a nick ]
  3. ;info ………… opens a dialog noticing the user the specified info ]
  4.  
  5. dialog msgbox {
  6. title ""
  7. size -1 -1 120 50
  8. option dbu
  9. button "Ok",1, 45 36 30 10, ok
  10. text "", 2, 8 15 100 10, center
  11. box "",4, 1 1 118 30
  12. }
  13. on *:dialog:msgbox:init:0:{
  14. if (%msgbox.t != $null) && (%msgbox.m != $null) {
  15. dialog -t $dname %msgbox.t
  16. did -a $dname 2 %msgbox.m
  17. unset %msgbox.*
  18. }
  19. }
  20. alias msgbox {
  21. set %msgbox.t $gettok($1-,1,64)
  22. set %msgbox.m $gettok($1-,2,64)
  23. dialog -m msgbox msgbox
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement