Jump to content

Dcx Xpopup


Guest Travis

Recommended Posts

Hi Im figuring out DCX popups and I had 2 questions.

 

#1 can I make a submenu in a submenu?

 

#2 The order seems really weird. So I'm getting used to the top item being on the bottom of the code but this is just wacky.

 

alias yeah {
if ($xpopup(chan).ismenu) xpopup -d chan
  xpopup -c chan graderev

  xpopup -i chan 0 $mdx_icon(1x)
  xpopup -i chan 0 $mdx_icon(w)
xpopup -p chan $Rgb(255,230,168) $rgb(211,244,198)

xpop -a chan 1 $chr(9) +s 0 1 Join Options
  xpop -c chan 1 2
  xpop -a chan 1 2 $chr(9) + 100 3 Favorites
  xpop -a chan 1 2 $chr(9) + 101 3 Idle Room
  xpop -a chan 1 2 $chr(9) + 0 0 -


  xpop -a chan 1 $chr(9) + 0 0 -
  xpop -a chan 1 $chr(9) +g 0 0 $chr(160) $hcd($chan)

  xpopup -s chan +c $Mouse.dx $Mouse.dy


}

 

So this works right pretty much.

First Item is the Channel name greyed out.

Then there is a line.

Then my Submenu "Join Options>"

But in this submenu it arranges things weird.

 

I want it to be:

Favorites

Idle Room

-

 

That is how it is coded, but the line shows in between Favorites and Idle Room.

 

When I put the line in between Favorites and Idle Room, it shows up where I want it. At the bottom. This makes absolutely no sense to me, can someone explain this? Also, if it is possible, can you show how I would put a submenu in the "Join Options" submenu?

 

Thanks!

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...