mIRC Home    About    Download    Register    News    Help

Print Thread
#167813 31/12/06 03:17 AM
Joined: Dec 2006
Posts: 2
Tukero Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
Joined: Dec 2006
Posts: 2
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

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

Tukero #167823 31/12/06 06:22 AM
Joined: Feb 2003
Posts: 810
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Feb 2003
Posts: 810
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.


* cold edits his posts 24/7
Tukero #167857 31/12/06 07:59 PM
Joined: Dec 2006
Posts: 2
Tukero Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
Joined: Dec 2006
Posts: 2
I didn't know it smirk

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

Tukero #167863 31/12/06 08:53 PM
Joined: Dec 2002
Posts: 2,962
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 2,962
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.


Spelling mistakes, grammatical errors, and stupid comments are intentional.

Link Copied to Clipboard