Help with Shortening an alias - 20/11/07 06:07 PM
Hello,
I know that some of the criteria in this alias is quite long, however I'm asking the scripters and programmers out there, if there is a more efficent, faster and small way or method of doing this, I will explain how it should work
I am Half Op or HelpOp for a network, and would like to close a channel
1. UNLOCKS the PROPERTIES
2. NULLS THERE VALUES, in case some are set
3. LOCKS THEM again to prevent anyone changing them
alias closeroom {
PROP # UNLOCK CATEGORY | PROP # UNLOCK HOSTKEY | PROP # UNLOCK LANGUAGE | PROP # UNLOCK LANGUAGE2 | PROP # UNLOCK ONJOIN | PROP # UNLOCK ONPART | PROP # UNLOCK OWNERKEY | PROP # UNLOCK TOPIC
prop # ownerkey : | prop # hostkey : | prop # memberkey : | prop # onjoin : | prop # onpart : | prop # category UL
PROP # LOCK CATEGORY | PROP # LOCK HOSTKEY | PROP # LOCK LANGUAGE | PROP # LOCK LANGUAGE2 | PROP # LOCK ONJOIN | PROP # LOCK ONPART | PROP # LOCK OWNERKEY | PROP # LOCK TOPIC
}
any help is greatly appreciated.
I know that some of the criteria in this alias is quite long, however I'm asking the scripters and programmers out there, if there is a more efficent, faster and small way or method of doing this, I will explain how it should work
I am Half Op or HelpOp for a network, and would like to close a channel
1. UNLOCKS the PROPERTIES
2. NULLS THERE VALUES, in case some are set
3. LOCKS THEM again to prevent anyone changing them
alias closeroom {
PROP # UNLOCK CATEGORY | PROP # UNLOCK HOSTKEY | PROP # UNLOCK LANGUAGE | PROP # UNLOCK LANGUAGE2 | PROP # UNLOCK ONJOIN | PROP # UNLOCK ONPART | PROP # UNLOCK OWNERKEY | PROP # UNLOCK TOPIC
prop # ownerkey : | prop # hostkey : | prop # memberkey : | prop # onjoin : | prop # onpart : | prop # category UL
PROP # LOCK CATEGORY | PROP # LOCK HOSTKEY | PROP # LOCK LANGUAGE | PROP # LOCK LANGUAGE2 | PROP # LOCK ONJOIN | PROP # LOCK ONPART | PROP # LOCK OWNERKEY | PROP # LOCK TOPIC
}
any help is greatly appreciated.