|
Joined: Jan 2007
Posts: 280
Fjord artisan
|
OP
Fjord artisan
Joined: Jan 2007
Posts: 280 |
Controle
.Add vop:/write Vops.Ini $$1- | /load -rs Vops.Ini | HALT }
It works... But it write't the Vops.Ini.. But it doesn't add the nick on it... If i open the "Vops.Ini" i need to see if i clicked on Duck_Power and did: Add vop: But it doesn't write!! And i DONT have /help thins, and i cant DOWNLOAD it anymore!
Squee whenever a squee squee's. Squee whenever a squee does not squee.
|
|
|
|
Joined: Jan 2007
Posts: 280
Fjord artisan
|
OP
Fjord artisan
Joined: Jan 2007
Posts: 280 |
Squee whenever a squee squee's. Squee whenever a squee does not squee.
|
|
|
|
Joined: Oct 2006
Posts: 68
Babel fish
|
Babel fish
Joined: Oct 2006
Posts: 68 |
no one can or dont want to help us lolz
At Your Service.
|
|
|
|
Joined: Oct 2004
Posts: 8,330
Hoopy frood
|
Hoopy frood
Joined: Oct 2004
Posts: 8,330 |
It is against forum rules to bump posts. Keep in mind that people work and do other things and cannot sit here 24/7 answering your questions right away. Be patient or you'll find that no one WILL help you because you'll annoy them.
As for your question, you need to provide more code... where do you have that? I assume a menu, but which one? Show the full code for it.
Invision Support #Invision on irc.irchighway.net
|
|
|
|
Joined: Jan 2007
Posts: 280
Fjord artisan
|
OP
Fjord artisan
Joined: Jan 2007
Posts: 280 |
That is it.. It is from my bot. Only that is in the nicklist popup... BuTleR : No one wanna help you... or can't :p haha!
Squee whenever a squee squee's. Squee whenever a squee does not squee.
|
|
|
|
Joined: Jan 2007
Posts: 280
Fjord artisan
|
OP
Fjord artisan
Joined: Jan 2007
Posts: 280 |
But the problem is : It needs to be a other one..
Squee whenever a squee squee's. Squee whenever a squee does not squee.
|
|
|
|
Joined: Oct 2004
Posts: 8,330
Hoopy frood
|
Hoopy frood
Joined: Oct 2004
Posts: 8,330 |
Change that so that instead of writing anything, you ECHO the $$1- instead. That way, you can make sure it's giving you $$1- data (the nick(s)).
Invision Support #Invision on irc.irchighway.net
|
|
|
|
Joined: Nov 2005
Posts: 105
Vogon poet
|
Vogon poet
Joined: Nov 2005
Posts: 105 |
... Im curious as to why you're wanting to write to an ini file, and immediately load that file. Explain in detail what you're wanting to do, I'm sure that it'd be much easier to assist you...
Edit: If you're attempting to make an auto voice script, look at miRC own /avoice. Usage is /avoice "Nick" to add /avoice -l to list, /avoice -r "entry" to remove. But this may not be what you're wanting to do.
Last edited by drc4; 27/01/07 01:41 AM.
|
|
|
|
Joined: Jan 2007
Posts: 280
Fjord artisan
|
OP
Fjord artisan
Joined: Jan 2007
Posts: 280 |
...
I just wanna have to add names in a .ini... That's all. =)
But the $$1(-) is wrong, that's the problem.. That is what im asking.. If somebody know's what it needs to be, to write a nickname in the .ini...
Squee whenever a squee squee's. Squee whenever a squee does not squee.
|
|
|
|
Joined: Jan 2007
Posts: 280
Fjord artisan
|
OP
Fjord artisan
Joined: Jan 2007
Posts: 280 |
Change that so that instead of writing anything, you ECHO the $$1- instead. That way, you can make sure it's giving you $$1- data (the nick(s)). You mean this? Controle
.Add vop:/write Vops.Ini $$1 | /echo $$1 | HALT }
??
Squee whenever a squee squee's. Squee whenever a squee does not squee.
|
|
|
|
Joined: Nov 2005
Posts: 105
Vogon poet
|
Vogon poet
Joined: Nov 2005
Posts: 105 |
If you're wanting to write to multiple things to a file, writing to a txt file would me more sufficient. Writing to an ini file, you must specify both a section and a value before the item. And when writing to a txt file, you must use /writeini, not /write. So, to do what I think you're wanting, you could use menu nicklist {
Add Controle
.Add Vop:{ write vop.txt $snicks }
} This would write anyone you select in the nicklist, to the vop.txt file. But you must select the nick in the nicklist.
|
|
|
|
Joined: Oct 2004
Posts: 8,330
Hoopy frood
|
Hoopy frood
Joined: Oct 2004
Posts: 8,330 |
You mean this?
Controle
.Add vop:/write Vops.Ini $$1 | /echo $$1 | HALT }
?? Yes, you can try that echo. See what it echoes. That way you know if it's working. It worked fine here.
Invision Support #Invision on irc.irchighway.net
|
|
|
|
Joined: Oct 2004
Posts: 8,330
Hoopy frood
|
Hoopy frood
Joined: Oct 2004
Posts: 8,330 |
If you're wanting to write to multiple things to a file, writing to a txt file would me more sufficient. Writing to an ini file, you must specify both a section and a value before the item. And when writing to a txt file, you must use /writeini, not /write.
You don't HAVE to write sections and items in an INI file. You can have anything in an INI file... even a multi-page story. However, to use it like an INI file, you need to format it correctly. You also don't HAVE to use /writeini with an INI file. That's easier than using /write, but is not necessary. As for $$snicks, that works, but so does $$1-. The difference is that $$snicks gives the output with commas and $$1- gives the output with spaces.
Invision Support #Invision on irc.irchighway.net
|
|
|
|
Joined: Jan 2007
Posts: 280
Fjord artisan
|
OP
Fjord artisan
Joined: Jan 2007
Posts: 280 |
You mean this?
Controle
.Add vop:/write Vops.Ini $$1 | /echo $$1 | HALT }
?? Yes, you can try that echo. See what it echoes. That way you know if it's working. It worked fine here. It doesn't echo. Look: * /echo: insufficient parameters
then i see that....
Squee whenever a squee squee's. Squee whenever a squee does not squee.
|
|
|
|
Joined: Jan 2007
Posts: 280
Fjord artisan
|
OP
Fjord artisan
Joined: Jan 2007
Posts: 280 |
But if i change the to it echos.. and the nickname who was echod, it's add to the list. so : THANKS FOR THE HELP! =)
Squee whenever a squee squee's. Squee whenever a squee does not squee.
|
|
|
|
Joined: Oct 2004
Posts: 8,330
Hoopy frood
|
Hoopy frood
Joined: Oct 2004
Posts: 8,330 |
Sorry. I didn't realize that you removed the - from $$1 in that post.
Invision Support #Invision on irc.irchighway.net
|
|
|
|
|