
right, i am adding some validation to my !afk scripts. Basically. when you do
!afk 1 test
It bans you for one minute, with the reason test
(There is a reason i have this on my bot, a channel full of IRC addicts and procrastinators

But, when you do
!afk 1.1 test
It bans you instantly, and for permanent. What i want to know, is how can i use an if statement to catch out these errors in the bantime? Namely the decimal points. what i ultimately want to do is to include this in the existing validation i have for this script, Which checks the number range, if that is wrong, then the script will not execute. I want to do the exact same thing with the Decimal Checker.
Any help?