This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Remove a space who is the 1st character from a sentance

Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
Post Reply
Y
Yannick80
Voice
Posts: 4
Joined: Tue Oct 21, 2008 12:07 pm

Remove a space who is the 1st character from a sentance

Post by Yannick80 »

Hello,
Sorry for my poor english cause i'm french.
How can i remove a space who is generated by mirc users.
In fact they must type /say ... because the first character is always a space.
The quizz script is Trivia.
Thanks.
Yannick80
User avatar
DragnLord
Owner
Posts: 711
Joined: Sat Jan 24, 2004 4:58 pm
Location: C'ville, Virginia, USA

Re: Remove a space who is the 1st character from a sentance

Post by DragnLord »

Yannick80 wrote:Hello,
Sorry for my poor english cause i'm french.
How can i remove a space who is generated by mirc users.
In fact they must type /say ... because the first character is always a space.
The quizz script is Trivia.
Thanks.
Yannick80
Sounds like they are using a set of mirc scripts that is causing that.

You have a choice; tell them to get their script fixed if they wish to participate in the trivia, or edit the trivia script to use the 'string trimleft' command on their input to remove the space.

Since you did not provide which trivia script you are using, this is about as close as I can get.
Post Reply