Raised This Month: $ Target: $400
 0% 

How to parse string


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
monolit
Junior Member
Join Date: May 2011
Old 05-13-2011 , 11:39   How to parse string
Reply With Quote #1

Hey, I would like to parse string with 3 and 4 parameters, and just ignore quotes

My string is like

!mute player time reason
as it should work if I write something like:

Quote:
!mute monolit 10 spamming and advertising
The reason should be spamming and advertising, even if I don't use quotes.

How to get reason should be something like, get whole text, and then just replace !mute, player, time with empty string.
monolit is offline
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:20.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode