Thanks Aubs
My new code is as follows (just the ON Dialog bit)
[code
ON *:DIALOG:onservinfo:sclick:4 {
/filter -if onservinfo 4 Print.txt
/run notepad.exe /p print.txt
}
[/code
still not working, keep getting the following error
* /filter: invalid parameters (line 131, whoonserver.mrc)
and line 131 is
/filter -if onservinfo 4 Print.txt
btw Aubs, yes it is for a dialog

ShadowDemon