So if they type in /hs !vhost new.host it will set it for them.
Is this corect coding?
Code: Select all
alias hs {
if ($% != !vhost) {
target hostserv; type services;
};
else {
target bot; type normal;
};
};
Code: Select all
alias hs {
if ($% != !vhost) {
target hostserv; type services;
};
else {
target bot; type normal;
};
};
Code: Select all
alias hs {
format "^!vhost" {
target bot;
type normal;
parameters "%1-";
};
format "^[^!vhost]" {
target hostserv;
type services;
parameters "%1-";
};
};
Code: Select all
alias hs {
format "^!vhost" {
target bot;
type normal;
parameters "%1-";
};
format "^[^!]([^v]([^h]([^o]([^s]([^t].*)?)?)?)?)?$" {
target hostserv;
type services;
parameters "%1-";
};
};