23.04.2017, 13:13
(
Последний раз редактировалось Loinal; 23.04.2017 в 20:36.
)
Fixed was using cookies 2 times
new id, bString[128], cookies; // this line should be cookies[] if you need as string
if(IRC_IsOp(botid, channel, user))
{
if(sscanf(params, "ui[24]", id,cookies)) // or if cookies is int just remove that [24]
if(cookies < 1 && cookies > 100)
if(cookies < 1 && cookies > 100)
/*this will return nothing ! there is no number more than 100 and less than 1*/
// use this method instead
if(cookies < 1 || cookies > 100)
/*
&& >> and
|| >> or
*/