mIRC Home    About    Download    Register    News    Help

Print Thread
#85554 05/06/04 10:46 PM
Joined: May 2004
Posts: 49
G
GalaxeY Offline OP
Ameglian cow
OP Offline
Ameglian cow
G
Joined: May 2004
Posts: 49
I always get this error:
* /dialog: 'titlebar' invalid table, in 'check'

What Is Wrong??

dialog Titlebar {
title "Titlebar:"
size -1 -1 108 90
option dbu
box " Titlebar: ", 1, 2 2 106 78
check "Have Time in titlebar?", 2 4 12 62 8
check "Have Host in titlebar?", 3 4 20 62 8
check "Have Ip in titlebar?", 4, 4 28 56 8
check "Have OS in titlebar?", 5, 4 36 58 8
check "Have Date in titlebar?", 6, 4 46 62 8
check "Have Your nick in titlebar?", 7, 4 54 72 8
check "Have Server uptime in titlebar?", 8, 4 62 84 8
check "Have Logo and version in titlebar?", 9, 4 70 92 8
link "www.mariafanclub.moo.no", 10, 20 82 64 8
button "Ok", 11, 2 82 16 8, ok
button "Avbryt", 12, 86 82 22 8
}


Signature:
I'm boring, ain't I? Oh well...:|
#85555 05/06/04 10:53 PM
Joined: Mar 2004
Posts: 155
D
Vogon poet
Offline
Vogon poet
D
Joined: Mar 2004
Posts: 155
Code:
 
dialog Titlebar {
title "Titlebar:"
size -1 -1 108 90
option dbu
box " Titlebar: ", 1, 2 2 106 78
check "Have Time in titlebar?", 2, 4 12 62 8
check "Have Host in titlebar?", 3, 4 20 62 8
check "Have Ip in titlebar?", 4, 4 28 56 8
check "Have OS in titlebar?", 5, 4 36 58 8
check "Have Date in titlebar?", 6, 4 46 62 8
check "Have Your nick in titlebar?", 7, 4 54 72 8
check "Have Server uptime in titlebar?", 8, 4 62 84 8
check "Have Logo and version in titlebar?", 9, 4 70 92 8
link "www.mariafanclub.moo.no", 10, 20 82 64 8
button "Ok", 11, 2 82 16 8, ok
button "Avbryt", 12, 86 82 22 8
} 
 


Just missing two comma's

#85556 05/06/04 11:01 PM
Joined: May 2004
Posts: 49
G
GalaxeY Offline OP
Ameglian cow
OP Offline
Ameglian cow
G
Joined: May 2004
Posts: 49
Thanks.
But still got a problem with the dialog..

on *:dialog:Titlebar:*:*:{
if ($devent == sclick) && ($istok(2 3 4 5 6 7 8 9,$did,32)) {
.timeralt 0 0 /titlebar Tid: ( $+ $time $+ ) Host: ( $+ $host $+ ) Ip: ( $+ $ip $+ ) Os: ( $+ Windows $os $+ ) Dato: ( $+ $date $+ ) Ditt nick: ( $+ $me $+ ) Server uptime: ( $+ $uptime(server,1) $+ ) %l v $+ %v
}
elseif ($devent == sclick) && ($istok(2 3 4 5 6 7 8,$did,32)) {
.timeralt 0 0 /titlebar Tid: ( $+ $time $+ ) Host: ( $+ $host $+ ) Ip: ( $+ $ip $+ ) Os: ( $+ Windows $os $+ ) Dato: ( $+ $date $+ ) Ditt nick: ( $+ $me $+ ) Server uptime: ( $+ $uptime(server,1) $+ )
}
elseif ($devent == sclick) && ($istok(2 3 4 5 6 7,$did,32)) {
.timeralt 0 0 /titlebar Tid: ( $+ $time $+ ) Host: ( $+ $host $+ ) Ip: ( $+ $ip $+ ) Os: ( $+ Windows $os $+ ) Dato: ( $+ $date $+ ) Ditt nick: ( $+ $me $+ )
}
elseif ($devent == sclick) && ($istok(2 3 4 5 6,$did,32)) {
.timeralt 0 0 /titlebar Tid: ( $+ $time $+ ) Host: ( $+ $host $+ ) Ip: ( $+ $ip $+ ) Os: ( $+ Windows $os $+ ) Dato: ( $+ $date $+ )
}
elseif ($devent == sclick) && ($istok(2 3 4 5,$did,32)) {
.timeralt 0 0 /titlebar Tid: ( $+ $time $+ ) Host: ( $+ $host $+ ) Ip: ( $+ $ip $+ ) Os: ( $+ Windows $os $+ )
}
elseif ($devent == sclick) && ($istok(2 3 4,$did,32)) {
.timeralt 0 0 /titlebar Tid: ( $+ $time $+ ) Host: ( $+ $host $+ ) Ip: ( $+ $ip $+ )
}
elseif ($devent == sclick) && ($istok(2 3,$did,32)) {
.timeralt 0 0 /titlebar Tid: ( $+ $time $+ ) Host: ( $+ $host $+ )
}
elseif ($devent == sclick) && ($istok(2,$did,32)) {
.timeralt 0 0 /titlebar Tid: ( $+ $time $+ )
}
else {
.timeralt 0 0 /titlebar %l v $+ %v
}


Signature:
I'm boring, ain't I? Oh well...:|

Link Copied to Clipboard