mIRC Home    About    Download    Register    News    Help

Print Thread
dialog problem #169620 26/01/07 06:11 AM
Joined: Dec 2006
Posts: 16
S
SithLORD Offline OP
Pikka bird
OP Offline
Pikka bird
S
Joined: Dec 2006
Posts: 16
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
}

Re: dialog problem [Re: SithLORD] #169625 26/01/07 12:21 PM
Joined: Mar 2003
Posts: 612
B
billythekid Offline
Fjord artisan
Offline
Fjord artisan
B
Joined: Mar 2003
Posts: 612
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


billythekid
Re: dialog problem [Re: SithLORD] #169632 26/01/07 02:22 PM
Joined: Oct 2004
Posts: 8,330
Riamus2 Offline
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
It's always good to put spaces after all {'s.

{ .dialog

instead of

{.dialog


Invision Support
#Invision on irc.irchighway.net