Ban Length CMD
#1

Hello, so I've searched everywhere, with no luck, to try and find a tutorial or command that might help me with what I am after.

Basically I want to make my /ban command syntax to be /ban [length] - (1w/1m/1h) [id/name] [reason].

Where:
- 1w = 1 week;
- 1m = 1 month;
- 1h = 1 hour and so on.

I am using sscanf to break down the parameters, but can't seem to find out how to make it detect the length.

Any help would be appreciated.

Thanks,
CM707
Reply


Messages In This Thread
Ban Length CMD - by XXCrazyMan707XX - 14.03.2015, 07:10
Re: Ban Length CMD - by arlindi - 14.03.2015, 08:43
Re: Ban Length CMD - by XXCrazyMan707XX - 14.03.2015, 09:15
Re: Ban Length CMD - by Djole1337 - 14.03.2015, 11:17

Forum Jump:


Users browsing this thread: 1 Guest(s)