mIRC Home    About    Download    Register    News    Help

Print Thread
#167813 31/12/06 03:17 AM
T
Tukero
Tukero
T
Hi!

mmm, my question is:

what happened with maxdepth command?

That command is cited in mircFAQ document, but mIRC doesn't know it (say the typical: /maxdepth: not connected to server :S).

mIRC 6.17

Greetings

#167815 31/12/06 04:07 AM
Joined: Aug 2004
Posts: 7,168
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,168
I'm unable to find this command in any mIRC documentation.

#167823 31/12/06 06:22 AM
Joined: Feb 2003
Posts: 806
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Feb 2003
Posts: 806
This command was so old, it was removed since mIRC 4.6. grin
mIRC used to allow alias recursion, and /maxdepth was there to set a depth limit to that.

#167857 31/12/06 07:59 PM
T
Tukero
Tukero
T
I didn't know it smirk

Well... but... What command I could use instead /maxdeph? confused

#167863 31/12/06 08:53 PM
Joined: Dec 2002
Posts: 2,884
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 2,884
There isn't any way to change the limit on recursion because technically speaking speaking it doesn't exist in mIRC scripting anymore.

You can get around it by using indirect recursion with two aliases which call each other or by calling the command via scon/scid (example here). Both of those methods are severely limited by mIRC's own call stack limit which cannot be increased, so you may find you have to avoid recursion completely.


Link Copied to Clipboard