Re: GI menu command don't work on python2 script...

[email protected] (g00r00)
Newsgroups alt.bbs.mystic
Organization Agency HUB, Dunedin - New Zealand
Message-ID <[email protected]>
 NM> from mystic_bbs import *
 NM> writeln('just a test')
 NM> menucmd('GI')
 NM> 
 NM> When I invoke it with GY from a menu entry I see Just a test but nothing
 NM> else happens.

You are not calling the menucmd function properly.  It has two parameters the 
first is the menu command and the second is data. 

Change it to this and it should work:

menucmd('GI', '')

... "No comment" is a comment.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.