AS for a loose logic: "Replace them as indicated" At the startup of @cmdlist: Aliases="" --> Aliases=" " Then both at @cmdhook & @cmdialog: if(... index(aliases,alias)) --> index(aliases," "++alias++" ")
I've encountered a problem once but could be easily worked around, so I didn't care further. However, since I opened the script in public I think it should be tighter in logic. A careful reader might already find out that I used two diffrent expressions for 'param' in @cmdhook & @cmdialog. You can use just whatever you like, they don't make any difference in the result. BTW, both may seem to have its own problem in strict logical sense, but both have worked flawlessly in reality! Somebody might wonder why I used in the 'if()' at the clear out 'x0' in @cmdhook: length(x0) != revindex(x0," ") select(x0,-1) != " " or select(x0,length(x0)) != " " seems simpler! But, they have an unexpected problem as "0" == " ", about which I posted already. Since Bruce said he would fix it, leave it until then. ------------------------ Yahoo! Groups Sponsor ---------------------~--> Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada. http://www.c1tracking.com/l.asp?cid=5511 http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/JV_rlB/TM ---------------------------------------------------------------------~-> **** EDIT YOUR POSTINGS !!!! **** Please remove as much as possible from original messages before replying to them. ________________________________________________ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/power-pro/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
