[BOT] message
#1

Hey,

Is there someway to read random messages from a file ? basically I would find this easier to do instead of pawno as I spend alot of time on my iPhone, iPad etc.. where I don't have pawno but have FTP client instead and also use desktop connections alot. Possible?

Thanks,

Dark
Reply
#2

y_ini
Reply
#3

y_ini doesn't really help bro. I was looking for an example more.
Reply
#4

actually, use dini

and have something like this
pawn Код:
dini_Set("/bots/speach","Speach 1","well hello");

if(!dini_Exists("/bots/speach")){  dini_Create("/ERP05/speach.txt");
and have this to load I think

pawn Код:
new speach[128];
dini_Get("/bots/speach.txt","speach1"),
I'm not the greatest of scripters but that should get you started

learn dini
Reply
#5

Not meaning to be rude have you ever used a system like this? I'm only saying this as you seem to know nothing about which file saving method to use.
Reply
#6

Yes, I use it for my password factions. it loads the password (like /skfererf to loginto SD) from a .txt file, so I can easily edit the password through FTP.
Reply
#7

Ahh I see okay thanks will give Dini a try.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)