Author | Message | Time |
---|---|---|
CrAz3D | 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. | August 16, 2003, 5:58 PM |
Camel | 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(). | August 16, 2003, 6:41 PM |
CrAz3D | oh, ok then. Thnx If that doesn't work I'm trying to do basically the same thing as stealthbot's greeting variables. | August 16, 2003, 7:19 PM |
CrAz3D | The replace() worked, thnx again Camel. | August 16, 2003, 8:14 PM |
warz | 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. | August 17, 2003, 7:49 PM |
CrAz3D | I don't know that I'd want it to do that but thnx. | August 17, 2003, 8:09 PM |
warz | It doesn't _have_ to. | August 17, 2003, 10:22 PM |