Hello and thank you for whoever can help me on this.
I would like to be able to write/delete and return information to and from a txt as a database
given the following piece of information. (please note I do not wish to use the .ini method)
[1]
Nickname: Buggs2007
Address: 629c3c899819f28cbf068691b1c7c618@Passport
Channel: %#HelpDesk
an alias that would be able to return the following:
echo -a $findinfo(1) would return 1, Nickname, Address, Channel
echo -a $findinfo(1,Nickname) would return Buggs2007
echo -a $findinfo(1,Nickname,Address) would return Nickname, Address
an alias to write to a txt file and so fourth ex. $Writeinfo($nick,$address,$chan)
[2]
Nickname: $nick
Address: $address
Channel: $chan
last but not least an alias to delete info from the database
$delinfo(1) deletes everything for:
[1]
Nickname: Buggs2007
Address: 629c3c899819f28cbf068691b1c7c618@Passport
Channel: %#HelpDesk
or selectively,
$delinfo(1,channel)
and another alias to replace or add info
$replaceinfo(1,channel,%#testing101)
I understand that this may be a little confusing, and probably huge to do, but I would like to give great thanks and credit
to whoever helps me on this.
Thanks a bunch,
Cheers,
Jason