Skip to content
Buzzen Chat Network

Access List Import/export

A TG007 community discussion started by CharmedOne.

Discussion 7 posts
Page 1 of 1
Open
Topic #13037 · 7 published posts · 1,530 views

can someone make me a small code to go with my import & export buttons for my dialog please my bialog name is dialog tnts { & my Import button number is 9 my Export button number is 10 . :pizza:

it's not that hard to do. Basically you will just have to get the list and use the returning raw to write to a txt file ( or hash,etc. ) thus exporting. Really it's the same as listing them in your dialog. You are just using write or hadd or whatever method you prefer.

 

Importing you just read from the txt file using a while loop

Edited Jun 29, 2009 11:02 PM by err0r

Get information about ircWx here

Mine saves the access list in a hash table, so saving it is as easy as hsave -o table file.txt.

 

When you upload, make sure you account for flood protection or buzzen's server will dc you.

 

And no, sorry, Im not going to take the time to write importer/exporter to be put in a script I cannot see.

 

Besides Id need to ad SoulFly tools to your script so might as well just use SF. :)

This might help some http://www.tg007.net/forum/index.php?s=&am...ost&p=63372

Get information about ircWx here

I do not know hash & this isnt for a access lister tho it deals with the access list import & export

a lister and a exporter are basically the same thing... when you check access instead of did to a dialog you write to a file

Edited Jun 30, 2009 4:51 AM by err0r

Get information about ircWx here

Ok thanks errOr :pizza: