I was doing some research relating to these two plugins:
http://forums.openkore.com/viewtopic.php?f=34&t=53
http://bibian.ath.cx/openkore//viewtopic.php?t=28117
What I'm trying to do is to make a plugin that does the command @who3 to see who else is on the same map as you, and to do that about every 30 minutes, and it would warn you if the same people are there for a certain amount of time. Is it possible to make that out of one of those two plugins, or would it be an entirely new plugin? I am trying my best to learn myself and write it myself, but I think I really just need a good push in the right direction. Thanks anyone who helps.
New plugin idea
Moderator: Moderators
-
- Noob
- Posts: 5
- Joined: 11 Apr 2008, 11:49
- Noob?: No
Re: New plugin idea
Sorry for posting in wrong section, and sorry for double posting but this is updated:
I have managed to configure this plugin:
http://bibian.ath.cx/openkore//viewtopic.php?t=28117
so that now it logs players names that I encounter, so long as its not a city, and after seeing them x amount of times, it warns me who it is, how many times I've seen them, and what map it took place on. Now I only need help with this, example is with '@who'. When you type it in, the console gets filled with:
Name: PLAYERNAME | PARTY(if one) | GUILD(if one)
how can I write a plugin that records everything after "name: " and before the first "|", and saves it to a txt file. then it does that every several minutes, and any names appearing on the list several times will be detected. This is particularly useful for @whomap. Can someone just bump me in the right direction with this? I'm trying my hardest to decipher what I can, but this is a completely new idea that I cant find any examples of. Thank you.
I have managed to configure this plugin:
http://bibian.ath.cx/openkore//viewtopic.php?t=28117
so that now it logs players names that I encounter, so long as its not a city, and after seeing them x amount of times, it warns me who it is, how many times I've seen them, and what map it took place on. Now I only need help with this, example is with '@who'. When you type it in, the console gets filled with:
Name: PLAYERNAME | PARTY(if one) | GUILD(if one)
how can I write a plugin that records everything after "name: " and before the first "|", and saves it to a txt file. then it does that every several minutes, and any names appearing on the list several times will be detected. This is particularly useful for @whomap. Can someone just bump me in the right direction with this? I'm trying my hardest to decipher what I can, but this is a completely new idea that I cant find any examples of. Thank you.
-
- Perl Monk
- Posts: 427
- Joined: 04 Apr 2008, 14:04
- Noob?: No
- Location: Brazil
-
- Noob
- Posts: 5
- Joined: 11 Apr 2008, 11:49
- Noob?: No
Re: New plugin idea
I tried using macros originally, but I can't figure out how to use just macros to read and write to text files. I have looked through the macro and plugin guide completely, and I have opened and tried to decipher numerous plugins now to try to understand how they work. Even a hint would be awesome right about now.