mIRC Home    About    Download    Register    News    Help

Print Thread
using the % character in $submenu #109014 24/01/05 10:17 PM
Joined: Feb 2004
Posts: 15
O
OuttaControlX Offline OP
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

Re: using the % character in $submenu #109015 24/01/05 10:20 PM
Joined: Nov 2003
Posts: 2,327
T
tidy_trax Offline
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