User Tools

Site Tools


python_functions

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
python_functions [2018/04/01 17:23]
g00r00 [Function List A to Z]
python_functions [2019/03/10 11:03] (current)
g00r00
Line 17: Line 17:
 ==== Output Functions ==== ==== Output Functions ====
  
-^ Function ​                                       ^ Description ​                                         ^ +^ Function ​                                        ​^ Description ​                                         ^ 
-| [[python_functions#​Function:​ RWRITE|rwrite]] ​   | Send raw string to the user                          | +| [[python_functions#​Function:​ PWRITE|pwrite]] ​    | Send pipe string to the user                         | 
-| [[python_functions#​Function:​ RWRITE|rwriteln]] ​ | Send raw string to the user with a carriage return ​  | +| [[python_functions#​Function:​ PWRITELN|pwriteln]] | Send pipe string to the user with a carriage return ​ | 
-| [[python_functions#​Function:​ WRITE|write]] ​     | Send string to the user with MCI filtering ​          | +| [[python_functions#​Function:​ RWRITE|rwrite]] ​    ​| Send raw string to the user                          | 
-| [[python_functions#​Function:​ WRITELN|writeln]] ​ | Send string to the user with MCI filtering and CRLF  |+| [[python_functions#​Function:​ RWRITE|rwriteln]] ​  ​| Send raw string to the user with a carriage return ​  | 
 +| [[python_functions#​Function:​ WRITE|write]] ​      ​| Send string to the user with MCI filtering ​          | 
 +| [[python_functions#​Function:​ WRITELN|writeln]] ​  ​| Send string to the user with MCI filtering and CRLF  | 
 + 
 +=== Function: PWRITE === 
 + 
 + 
 +    Syntax: pwrite (string) 
 +     
 +    This function accepts a string parameter and will send the contents of the 
 +    string to the user, processing any pipe color codes properly but ignoring other 
 +    MCI codes. 
 +   
 +    Example: 
 +   
 +      rwrite("​|12Welcome,​ |UH"​) 
 +     
 +    The above example will print "​Welcome,​ |UH" to the user with a red color. ​ Note 
 +    that the MCI code containing the user name was not translated. 
 + 
 +=== Function: PWRITELN === 
 + 
 +    Syntax: pwriteln (string) 
 +     
 +    This function accepts a string parameter and will send the contents of the 
 +    string to the user, processing any pipe color codes properly but ignoring other 
 +    MCI codes. ​ A CRLF is sent at the end, moving the cursor to the next line. 
 +   
 +    Example: 
 +   
 +      pwriteln("​|12Welcome,​ |UH"​) 
 +     
 +    The above example will print "​Welcome,​ |UH" to the user with a red color. ​ Note 
 +    that the MCI code containing the user name was not translated. 
  
 === Function: RWRITE === === Function: RWRITE ===
Line 99: Line 133:
  
   * access   * access
 +  * acsnogroup
   * backspace   * backspace
   * charxy   * charxy
 +  * dated2u
 +  * datestr
 +  * dateu2d
   * delay   * delay
 +  * fl_close
 +  * fl_found
 +  * fl_getdesc
 +  * fl_getfile
 +  * fl_open
 +  * fl_prev
 +  * fl_next
 +  * fl_seek
   * getcfg   * getcfg
   * getfbase   * getfbase
Line 112: Line 158:
   * getmgroup   * getmgroup
   * getmgroupid   * getmgroupid
 +  * getnetaddr
   * getprompt   * getprompt
   * getstr   * getstr
Line 117: Line 164:
   * getuserid   * getuserid
   * getyn   * getyn
-  * gotoyn+  * gotoxy
   * keypressed   * keypressed
 +  * logerror
   * mci2str   * mci2str
   * menucmd   * menucmd
Line 130: Line 178:
   * msg_prev   * msg_prev
   * msg_seek   * msg_seek
 +  * msg_stats
   * onekey   * onekey
   * param_count   * param_count
   * param_str   * param_str
 +  * [[python_functions#​Function:​ PWRITE|pwrite]]
 +  * [[python_functions#​Function:​ PWRITELN|pwriteln]]
   * [[python_functions#​Function:​ RWRITE|rwrite]]   * [[python_functions#​Function:​ RWRITE|rwrite]]
   * [[python_functions#​Function:​ RWRITELN|rwriteln]]   * [[python_functions#​Function:​ RWRITELN|rwriteln]]
 +  * setpinfo
 +  * setprompt
   * showfile   * showfile
   * shutdown   * shutdown
python_functions.1522617837.txt.gz · Last modified: 2018/04/01 17:23 by g00r00