SA-MP Forums Archive
IRC PROBLEM [HELP] :(( - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: IRC PROBLEM [HELP] :(( (/showthread.php?tid=315500)



IRC PROBLEM [HELP] :(( - Niko_boy - 03.02.2012

PLEASE!!!

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
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 !!


Re: IRC PROBLEM [HELP] :(( - Niko_boy - 03.02.2012

SOME ONE !!
PLEASE BUMPING IT TODAY ZGOTTA GO SLEEP HOPE U GUYS HELP ME !


Re: IRC PROBLEM [HELP] :(( - Niko_boy - 04.02.2012

BUMP!!
PLEASE HELP!
>|


Re: IRC PROBLEM [HELP] :(( - Niko_boy - 08.02.2012

I THINK TOPIC NAME IN APPROPIATE STILL SOME ONE HELP ME !!!!!!!!!!!
BUMPED WHY I NEVER GET REPLIED