Forums before death by AOL, social media and spammers... "We can't have nice things"
|    alt.bbs.mystic    |    Mystic Sysops are mystical nerds...    |    11,847 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 11,360 of 11,847    |
|    g00r00 to All    |
|    Re: GI menu command don't work on python    |
|    03 Feb 23 11:30:38    |
   
   From: nospam.g00r00@f215.n129.z1.fidonet.org   
      
    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.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca