Further adding to Loki's reply. You should use the help files in mIRC frequently. You can access it by typing "/help" or "/help on text" to jump to a section immediately.
In the help files it shows examples and explanations as to why things are the way they are.
For instance: You can use 4 different windows.
* = All windows
? = Private message window
# = Any channel window
#Channel = #Channel specific window
Also, you'll notice something when using the working script. It will only trigger when the text is exactly "!guess". Having anything after will never trigger the script. Thus rendering $1- useless.
You can find the solution in the on text help files.
Writing $1- to the file will always include !guess btw. You might want to consider making it $2- instead
![smile smile](/images/graemlins/mirc/smile.gif)