Official Soldat Forums

Server Talk => Scripting Discussions and Help => Topic started by: -Snowy- on January 22, 2008, 06:34:06 am

Title: wildcards in onplayerspeak or onplayercommand
Post by: -Snowy- on January 22, 2008, 06:34:06 am
im just curious to know how to use wildcards in text, eg i want something that will bring up a message to use a command when someone says anything starting with a '/' when they speak rather than use an actual command. ive tried things like

if Text = '/' + * then begin

but i have no idea what else to try after that, so thats about all im asking.
Title: Re: wildcards in onplayerspeak or onplayercommand
Post by: EnEsCe on January 22, 2008, 06:52:51 am
Read the manual. http://enesce.com/help/

MaskCheck.
Title: Re: wildcards in onplayerspeak or onplayercommand
Post by: -Snowy- on January 22, 2008, 08:10:26 am
wow that was easy to do...i need to familiarise myself with more of the functions