|
Joined: May 2004
Posts: 49
Ameglian cow
|
OP
Ameglian cow
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...:|
|
|
|
|
Joined: Mar 2004
Posts: 155
Vogon poet
|
Vogon poet
Joined: Mar 2004
Posts: 155 |
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
|
|
|
|
Joined: May 2004
Posts: 49
Ameglian cow
|
OP
Ameglian cow
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...:|
|
|
|
|
|