GetOption not working in plugin

Posted by Poromenos on Mon 01 Sep 2003 02:03 PM — 6 posts, 27,766 views.

Greece #0
I am trying to use the GetCurrentValue("password") thing in a plugin, and it gives me a mismatch... Am I doing something wrong, or is it designed that way?
Amended on Mon 01 Sep 2003 02:08 PM by Poromenos
Greece #1
Hmm I tried creating a trigger in a plugin to "send to scripting", and it still didn't work. Is it a safeguard?
Australia Forum Administrator #2
Yes, each option has a flag as to whether the plugin can read or set it.

I put that in so someone couldn't write a "cool plugin" that actually harvested passwords.

For example, you might write a plugin that appeared to do a nice hitpoint bar, but in addition established a chat connection to the author and sent the player's password secretly - that sort of thing.
Greece #3
Yes, I see your point... *Cough* not that I would do anything like that...
Canada #4
A bug in current versions (up to 3.42) allows for a workaround to this.

See my thread here:
http://www.gammon.com.au/forum/bbshowpost.php?bbsubject_id=3454&page=999999
USA #5
Noting however that chat would tend to would be obvious, an external app to do it in secret is hard to hide and that the INET control (which is about the only other option) would lag the client when it executed. It isn't impossible, but not exactly as easilly done as might be expected.