I don't think Adrenalin was asking for the man page... more like, what is it DOING? In other words, if you call subst and tell it not to evaluate backslashes, commands, or variables, what is the point? What does it DO? Anybody have an idea? My initial guess is... it does nothing.
A rough guess would be that the piece of code Adrenalin posted is from some sort of channel protection script and is used for excessive "away" messages in the channel and the use of -nocommands -novariables -nobackslashes could be to get around the varied weird and wonderfull messages that are created these days (along with equally weird and wonderfull nicks) all using characters that eggdrop most of the time chokes on.
Add [SOLVED] to the thread title if your issue has been. Search | FAQ | RTM
It does nothing but waste some cpu. The string "text" doesn't contain any characters that would trigger substitutions, and the return value (text) is discarded. The author is either stupid or trying to confuse you.
Dont hold back user you just tell it as you see it..
The lifecycle of a noob is complex. Fledgling noobs gestate inside biometric pods. Once a budding noob has matured thru gestation they climb out of their pod, sit down at a PC, ask a bunch of questions that are clearly in the FAQ, The Noob is born
Ofloo wrote:i think he just forgot a '$' infront of the word text
It would still do nothing. (subst doesn't modify variables...it returns the string fed to it with substitutions performed (none if all the switches are used))