I'll supply some screenshots in case you don't get it.
Use this code:
menu channel {
Switches
.Voting Booth
..On ( $+ %vote $+ ):{
/timervote off | /set %votetime $$?="How long?(in seconds)"
/set %votereason $$?="Enter your voting reason"
/set %votechan #
.timervote 1 %votetime /off
/msg %votechan %gdleft $+ The voting booth is now on! Voting question: $+ %votereason \ Voting Time: $+ %votetime seconds \ To play:type !vote yes to put yes and !vote no to put no.You can only vote once. $+ %gdright
set %vote On
}
..Off ( $+ %vote $+ ):/off
}
menu channel {
Switches
.Games
..8ball
...On ( $+ %8ball $+ ):/set %8ball on
...Off ( $+ %8ball $+ ):/set %8ball off
}
menu channel,menubar {
Switches
.Mini Switch Control $chr(9) /msc:/msc
}
http://home.pacific.net.sg/~furrypandy/buggy1.GIF will appear. Looks fine.
However, now I group Voting Booth under Games, and the problem arises.
menu channel {
Switches
.Games
..Voting Booth
...On ( $+ %vote $+ ):{
/timervote off | /set %votetime $$?="How long?(in seconds)"
/set %votereason $$?="Enter your voting reason"
/set %votechan #
.timervote 1 %votetime /off
/msg %votechan %gdleft $+ The voting booth is now on! Voting question: $+ %votereason \ Voting Time: $+ %votetime seconds \ To play:type !vote yes to put yes and !vote no to put no.You can only vote once. $+ %gdright
set %vote On
}
...Off ( $+ %vote $+ ):/off
}
menu channel {
Switches
.Games
..8ball
...On ( $+ %8ball $+ ):/set %8ball on
...Off ( $+ %8ball $+ ):/set %8ball off
}
menu channel,menubar {
Switches
.Mini Switch Control $chr(9) /msc:/msc
}
http://home.pacific.net.sg/~furrypandy/buggy2.GIFFor the Games to appear twice, the code is:
menu channel,menubar {
Switches
.Mini Switch Control $chr(9) /msc:/msc
}
menu channel {
Switches
.Games
..Voting Booth
...On ( $+ %vote $+ ):{
/timervote off | /set %votetime $$?="How long?(in seconds)"
/set %votereason $$?="Enter your voting reason"
/set %votechan #
.timervote 1 %votetime /off
/msg %votechan %gdleft $+ The voting booth is now on! Voting question: $+ %votereason \ Voting Time: $+ %votetime seconds \ To play:type !vote yes to put yes and !vote no to put no.You can only vote once. $+ %gdright
set %vote On
}
...Off ( $+ %vote $+ ):/off
}
menu channel {
Switches
.Games
..8ball
...On ( $+ %8ball $+ ):/set %8ball on
...Off ( $+ %8ball $+ ):/set %8ball off
}
http://home.pacific.net.sg/~furrypandy/buggy3.GIF