Difference between pages "Insert" and "Talk:CLI Reference"

From Kolmafia
(Difference between pages)
Jump to navigation Jump to search
imported>Heeheehee
m (I need to check stuff when I replace copy-pasted info. =P)
 
imported>Bale
 
Line 1: Line 1:
{{
+
should we add that Csend will add make it's own message to the recipient if it is not given?--[[User:Icon315|Icon315]] 21:47, 21 April 2010 (UTC)
#vardefine:name|insert}}{{
+
*That's the kind of detail that should go on it's own page if the command is important enough to get its own page. --[[User:Bale|Bale]] 01:03, 22 April 2010 (UTC)
#vardefine:return_type|buffer}}{{
 
 
 
FunctionPage|
 
name={{#var:name}}|
 
function_category=String Handling Routines|
 
 
 
function1={{Function|
 
name={{#var:name}}|
 
aggregate={{#var:aggregate}}|
 
return_type={{#var:return_type}}|
 
return_also={{#var:return_also}}|
 
parameter1={{Param|buffer|original}}|
 
parameter2={{Param|int|strStart}}|
 
parameter3={{Param|string|stuff}}|
 
p1desc={{Pspan|original}} is the buffer to modify|
 
p2desc={{Pspan|strStart}} marks where to insert the string|
 
p3desc={{Pspan|stuff}} is the string to insert|
 
}}|
 
 
 
function_description=Returns the buffer {{pspan|original}} with the string {{pspan|stuff}} inserted at {{pspan|strStart}}.|
 
 
 
code1={{CodeSample|
 
title=Code Sample|
 
description=Inserts a "Refresh page" link to the Pyramid inside KoL's default border.|
 
code=
 
<syntaxhighlight>
 
buffer results;
 
results.append(visit_url());
 
 
 
int strEnd = results.index_of("height=137 border=0>");
 
if(strEnd > 0) {
 
  results.insert(strEnd + 20,"<br /><div align='center' class='tiny'><a href='pyramid.php'>Refresh page</a></div>");
 
}
 
results.write();
 
</syntaxhighlight>
 
}}|
 
 
 
see_also={{SeeAlso|delete}}|
 
}}
 

Revision as of 01:03, 22 April 2010

should we add that Csend will add make it's own message to the recipient if it is not given?--Icon315 21:47, 21 April 2010 (UTC)

  • That's the kind of detail that should go on it's own page if the command is important enough to get its own page. --Bale 01:03, 22 April 2010 (UTC)