mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Feb 2004
Posts: 15
O
Pikka bird
OP Offline
Pikka bird
O
Joined: Feb 2004
Posts: 15
i want to use the % charter in the start of a sub menu

example:
Code:
alias test {
  If ($1 == begin) return -
  if ($1 == 1) return $(%Hello) :World
  if ($1 == end) return -
}
Menu channel,menubar,status,nicklist {
  -
  Test
  .$submenu($test($1))
}


Note %hello is not a var im using, i want the text to show as %TextHere in the sub menu

Joined: Nov 2003
Posts: 2,327
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Nov 2003
Posts: 2,327
Code:
alias test {
  If ($1 == begin) return -
  if ($1 == 1) return % $!+ Hello :World
  if ($1 == end) return -
}
Menu channel,menubar,status,nicklist {
  -
  Test
  .$submenu($test($1))
}


New username: hixxy

Link Copied to Clipboard