vb 6
I am trying to include user type strings (%s, %e, etc...) into a greeting function or just basic commands, how would I go about this.
I think what you are asking is how to replaces "%s" and "%e" from the 'greeting format' with associated strings based on the user. If I'm correct on that, you can use Replace().
oh, ok then. Thnx
If that doesn't work I'm trying to do basically the same thing as stealthbot's greeting variables.
The replace() worked, thnx again Camel.
I posted a useful example that I wrote awhile back showing how to do exactly what you're asking.
Check it out: http://tks.slacktech.com/source/vb/My%20Form%20Examples/custom_variables.frm
Just append format_message somewhere in your send function and it'll replace any available variables, all the time.
I don't know that I'd want it to do that but thnx.
It doesn't _have_ to.