mIRC Homepage
Posted By: SithLORD dialog problem - 26/01/07 06:11 AM
i made this dialog for away text
but i have this to raws

raw 306:*: {.dialog -m away away | .did -a away 3 estas away | halt }
raw 305:*: {.dialog -m away away | .did -a away 3 no estas away | halt }

there is a way to open the same dialog twice and dont have an error?



[ADDON]
nombre=away dialogo
autor=Sithlord
ver=2.1

alias mdx_fullpath { return $+(",C:\Downloads\da2\mdx\mdx.dll,") }

alias mdx { dll $mdx_fullpath $1- }

alias mdxinit {
dll $mdx_fullpath SetMircVersion $version
dll $mdx_fullpath MarkDialog $dname
}

dialog away {
size -1 -1 439 109
title "Away system"
check "Enganchar",1,14 40 86 20, push
list 3,10 63 409 23,size
edit "",2,13 13 212 22
}
on *:dialog:away:init:*:{
mdxinit

}

on 1:dialog:away:sclick:1: {
.set %away_tx $did(2).text
/away on
}
Posted By: billythekid Re: dialog problem - 26/01/07 12:21 PM
yes, you can use the same dialog TABLE as many times as you like, provided you call it a different NAME on each occurance.

raw 305:*: {.dialog -m notaway away | .did -a notaway 3 no estas away | halt }

btk
Posted By: Riamus2 Re: dialog problem - 26/01/07 02:22 PM
It's always good to put spaces after all {'s.

{ .dialog

instead of

{.dialog
© mIRC Discussion Forums