Bug #5446
closed
Multi-line Aliases break commands globally
Added by Myles D almost 3 years ago.
Updated almost 3 years ago.
Description
Making a multi line alias as per wiki instructions, as follows:
/alias { /cmd1
/sleep 1 /cmd2
/sleep 1 /cmd3
}
Breaks the /sleep command because AdiIRC thinks it's an alias, telling me "1 Unknown Command" in the log.
There is a different syntax depending on whether you are using Tools -> Edit Aliases or Tools -> Edit Scripts
For Tools -> Edit Aliases the syntax is:
/aliashere {
/cmd1
/cmd2
/cmd3
}
For Tools -> Edit Scripts the syntax is:
alias aliashere [
/cmd1
/cmd2
/cmd3
}
Cheers, it looks like this one works if I don't put a command on the same line after {
I can test the next time I get dc/ed.
Was a bit overzealous with the bug reports. ;)
- Status changed from New to Invalid
Great,
This used to be allowed as there is really no technical reason why it can't be allowed, but to have maximum compatibility with mirc scripting, it was changed.
Also available in: Atom
PDF