|
GetOption not working in plugin
|
Reply to this subject
Start a new subject
 
Refresh page
| Posted by |
Poromenos
Greece (1,037 posts) bio
|
| Date |
Mon 01 Sep 2003 02:03 PM (UTC) [ quote
] Amended on Mon 01 Sep 2003 02:08 PM (UTC) by Poromenos
|
| Message |
| 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? |
Vidi, Vici, Veni.
http://porocrom.poromenos.org/ Read it! | top |
|
| Posted by |
Poromenos
Greece (1,037 posts) bio
|
| Date |
Reply #1 on Wed 03 Sep 2003 06:01 PM (UTC) [ quote
] |
| Message |
| Hmm I tried creating a trigger in a plugin to "send to scripting", and it still didn't work. Is it a safeguard? |
Vidi, Vici, Veni.
http://porocrom.poromenos.org/ Read it! | top |
|
| Posted by |
Nick Gammon
Australia (18,770 posts) bio
Forum Administrator |
| Date |
Reply #2 on Wed 03 Sep 2003 08:37 PM (UTC) [ quote
] |
| Message |
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. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | top |
|
| Posted by |
Poromenos
Greece (1,037 posts) bio
|
| Date |
Reply #3 on Wed 03 Sep 2003 10:45 PM (UTC) [ quote
] |
| Message |
| Yes, I see your point... *Cough* not that I would do anything like that... |
Vidi, Vici, Veni.
http://porocrom.poromenos.org/ Read it! | top |
|
| Posted by |
Shadowfyr
USA (1,774 posts) bio
|
| Date |
Reply #5 on Wed 05 Nov 2003 05:55 PM (UTC) [ quote
] |
| Message |
| 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. |
main {
__if (Schrodinger_Cat is Alive or version >= "XP"){
____if version = "Vista" then Performance /= Number_of_Cores;
____call Functional_Code();}
__else
____call Crash_Windows();} | top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
3,231 views.
Reply to this subject
Start a new subject
 
Refresh page
top
Comments to:
Gammon Software support
Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )