Specifiers

These are old archives. They are kept for historic purposes only.
Post Reply
Azza
Posts: 5
Joined: Fri Oct 28, 2005 6:57 pm

Specifiers

Post by Azza »

Are there any other specifiers than %n?
Jason
Posts: 570
Joined: Mon Jun 14, 2004 5:09 pm

Post by Jason »

Specifiers for what?
Why the hell can't my signature be empty?
"Your message contains too few characters."
Azza
Posts: 5
Joined: Fri Oct 28, 2005 6:57 pm

Post by Azza »

for in conf files alliases e.g


alias "Bob" {
format "^#" {
target "Bob";
type services;
parameters "4BOB 8%N: %1-";
};
format "^[^#]" {
target "Bob";
type services;
parameters "4BOB 8%N: %1-";
};
type command;
};
Stealth
Head of Support
Posts: 2085
Joined: Tue Jun 15, 2004 8:50 pm
Location: Chino Hills, CA, US
Contact:

Post by Stealth »

And the documentation says:
To specify all parameters from a given parameter to the end do % followed by the number and a -, for example %2- returns all parameters from the second till the last. Additionally, you may specify %n which will be replaced by the nickname of the user who executed the command. For examples of using the alias block in the command format, consult doc/example.conf.
Azza
Posts: 5
Joined: Fri Oct 28, 2005 6:57 pm

Post by Azza »

so no is the answer?
Jason
Posts: 570
Joined: Mon Jun 14, 2004 5:09 pm

Post by Jason »

The answer is yes. In addition to %n, you have %1, %2, %3, %4, %5... and you also have %1-, %2-, %3-, %4-, %5-...

Those are all.


Why are you using an alias block with the format features if you make them do the exact same thing? Use one without the format features. READ THE DOCUMENTATION to see how to do this.
Why the hell can't my signature be empty?
"Your message contains too few characters."
Azza
Posts: 5
Joined: Fri Oct 28, 2005 6:57 pm

Post by Azza »

ty


just trying to find out what can/can't be done
Jason
Posts: 570
Joined: Mon Jun 14, 2004 5:09 pm

Post by Jason »

The documentation will tell you all of that. In fact I told you less than it did.
Why the hell can't my signature be empty?
"Your message contains too few characters."
Post Reply