The weird thing is that your script works fine in my mIRC.

Check that there isn't any other script which uses a dialog named fileserver
Make sue that the function which call the dialog has the name typed right:
/dialog -m fileserver fileserver

Check that %trigger is realy set and it is not a local variable but a global one.

Those are the only things I can think of.