03.02.2012, 14:21
PLEASE!!!
IDK what is happening to my bot when i do Like
EVERYTHING WAS FINE!
a day back but i edited a part and come up with this part!!
I edited new string[512],str[512],Query[1024],sql[512]; etc...
I think this cant be problem
I mean defined it as global variable and removed it from previous places!
So problem is! whenever a bot say anything the string get defined as What a bot says ! i mean its double posting/senidng messages .Not exactly but like
if i do !cmd and bot say HI
its ok !
and if i do !cmd2 which must say Hello it is saying like
Hello
and
Hi
both ,then if i do
!cmd3 which must say hola
it say
Hola and
Hello
So its like it format the string from last message of bot and send it with new message!
HOPE I AM CLEAR!!
Tell what can be problem !!
IDK what is happening to my bot when i do Like
Код HTML:
[20:43] <~Niko_boy> !specialize str [20:43] <&SoNic> str@@@@@@@ [20:43] <&SoNic> str@@@@@@@ [20:43] <~Niko_boy> wtf :| [20:43] <&SoNic> str@@@@@@@ [20:47] <~Niko_boy> !say [20:47] <&SoNic> str@@@@@@@ [20:47] <~Niko_boy> !cookies [20:47] -SoNic- Syntax: !cookies [User] [20:47] <&SoNic> str@@@@@@@ [20:47] <~Niko_boy> !cookies 0 [20:47] <&SoNic> Unknown User:0 [20:47] <&SoNic> Unknown User:0
a day back but i edited a part and come up with this part!!
I edited new string[512],str[512],Query[1024],sql[512]; etc...
I think this cant be problem

I mean defined it as global variable and removed it from previous places!
So problem is! whenever a bot say anything the string get defined as What a bot says ! i mean its double posting/senidng messages .Not exactly but like
if i do !cmd and bot say HI
its ok !
and if i do !cmd2 which must say Hello it is saying like
Hello
and
Hi
both ,then if i do
!cmd3 which must say hola
it say
Hola and
Hello
So its like it format the string from last message of bot and send it with new message!
HOPE I AM CLEAR!!
Tell what can be problem !!