Is it possible for a macro to save a .txt?
I mean, what I want is to have my macro check players around and print
their names, jobs, and levels in .txt?
Macro to save file?
Moderators: Moderators, Documentation Writers
-
- Noob
- Posts: 19
- Joined: 21 Jul 2011, 01:16
- Noob?: No
Re: Macro to save file?
use subroutine
"...Every coin have two sides, think more widely and Not everything is black and white, there are shades of grey..."


-
- Moderators
- Posts: 1197
- Joined: 16 Dec 2011, 02:53
- Noob?: No
- Location: Brazil
-
- Noob
- Posts: 4
- Joined: 17 Nov 2011, 06:57
- Noob?: No
Re: Macro to save file?
Can someone give me a sample of that macro? I'm clueless right now but I might have an idea after looking at it.
-
- Moderators
- Posts: 1197
- Joined: 16 Dec 2011, 02:53
- Noob?: No
- Location: Brazil
Re: Macro to save file?
Read about 'Perl File handling'.do eval open (XD, ">>", "file.txt");
Learn rules