SA-MP Forums Archive
How to use only 1 IRC bot to read a file? - 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: How to use only 1 IRC bot to read a file? (/showthread.php?tid=430582)



[SOLVED] How to use only 1 IRC bot to read a file? - CrossUSAAF - 14.04.2013

Dear!

I Got my activity system working, now it logs all how I Want. But when I Want to print the user activity out on IRC, it goes to random order, because both bots are doing it. I Know it is possible to use only one bot to read from file, but how in this case, when I'm reading a file line by line?

I Have already tried "if(botid == 1)", but no luck.

Thanks for you help in advance!


Re: How to use only 1 IRC bot to read a file? - ScripteRMKD - 14.04.2013

pawn Код:
new botid[1];



Re: How to use only 1 IRC bot to read a file? - CrossUSAAF - 14.04.2013

Quote:
Originally Posted by ScripteRMKD
Посмотреть сообщение
pawn Код:
new botid[1];
Thanks for your helpful response, but I Solved it already. Thank you for looking this!