Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;syntx ………. /msgbox title text@message text ]
- ;i.e ………….. /msgbox Error@You must specify a nick ]
- ;info ………… opens a dialog noticing the user the specified info ]
- dialog msgbox {
- title ""
- size -1 -1 120 50
- option dbu
- button "Ok",1, 45 36 30 10, ok
- text "", 2, 8 15 100 10, center
- box "",4, 1 1 118 30
- }
- on *:dialog:msgbox:init:0:{
- if (%msgbox.t != $null) && (%msgbox.m != $null) {
- dialog -t $dname %msgbox.t
- did -a $dname 2 %msgbox.m
- unset %msgbox.*
- }
- }
- alias msgbox {
- set %msgbox.t $gettok($1-,1,64)
- set %msgbox.m $gettok($1-,2,64)
- dialog -m msgbox msgbox
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement