mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Dec 2002
Posts: 109
T
Vogon poet
OP Offline
Vogon poet
T
Joined: Dec 2002
Posts: 109
In my Menu Bar popup I have $submenu($menu-bar($1)), which I have tested using /echo -s $menu-bar([1-4]) and returns:

ISP Session Limit: isp-open
Spammer Nick Guard : spammer
Open Media Centre: mc-open
Acromancer/Nick Complete Settings: acro-open

.... /isp-open from the 'command line' works fine but the ISP Session Limit menu item is just static! I cannot understand it. The other menu items in that list work perfectly.

Am I missing something obvious?


<Ingo> I can't uninstall it, there seems to be some kind of "Uninstall Shield"
Joined: Dec 2002
Posts: 580
N
Fjord artisan
Offline
Fjord artisan
N
Joined: Dec 2002
Posts: 580
Just a guess, but do you have the begin and end?

From the help file...
Code:
alias animal {
  if ($1 == begin) return -
  if ($1 == 1) return Cow:echo Cow
  if ($1 == 2) return Llama:echo Llama
  if ($1 == 3) return Emu:echo Emu
  if ($1 == end) return -
}


NaquadaBomb
www.mirc-dll.com
Joined: Dec 2002
Posts: 109
T
Vogon poet
OP Offline
Vogon poet
T
Joined: Dec 2002
Posts: 109
I found the error..
for begin and end I was returning nothing - the Help file said that begin and end were sent to determine whether or not a seperator should be used... so I figured returning nothing would say not. It broke the popup that came after it somehow: didn't figure it out, but by returning $chr(32) it seemed to accept it as 'no seperator' smile


<Ingo> I can't uninstall it, there seems to be some kind of "Uninstall Shield"

Link Copied to Clipboard