Difference between revisions of "User talk:StDoodle"

From Kolmafia
Jump to navigation Jump to search
imported>Bale
(finished my assignments)
imported>StDoodle
m
Line 9: Line 9:
  
 
Added combat filter information and examples to [[adventure]](). What is my next assignment? :) --[[User:Bale|Bale]] 11:03, 3 March 2010 (UTC)
 
Added combat filter information and examples to [[adventure]](). What is my next assignment? :) --[[User:Bale|Bale]] 11:03, 3 March 2010 (UTC)
 +
 +
==for Grotfang==
 +
int clan_id() {
 +
string x = visit_url( "showplayer.php?who=" + my_id().to_string() );
 +
string clan_num = "";
 +
 +
if( contains_text( x , "showclan.php?whichclan=" ) ) {
 +
matcher mat = create_matcher("whichclan\=(\\d+)",x);
 +
if(find(mat)) clan_num = group(mat,1);
 +
}
 +
return clan_num.to_int();
 +
}

Revision as of 17:35, 4 March 2010

Please let me know what's on your mind!

Any suggestions or comments are welcome, folks. Just leave them here, and please sign your posts.

Also; if you don't have anything on your user page, please leave contact info or check back here for a reply.


Wrote up some information about Custom Combat Script, including consult scripts for you. I think it is pretty good, but feel free to do anything with it that you like. You can move it to the In-combat Consulting page or whatever. If I left out anything of importance or I need to add more detail to some part, let me know. --Bale 10:21, 3 March 2010 (UTC)

Added combat filter information and examples to adventure(). What is my next assignment? :) --Bale 11:03, 3 March 2010 (UTC)

for Grotfang

int clan_id() { string x = visit_url( "showplayer.php?who=" + my_id().to_string() ); string clan_num = "";

if( contains_text( x , "showclan.php?whichclan=" ) ) { matcher mat = create_matcher("whichclan\=(\\d+)",x); if(find(mat)) clan_num = group(mat,1); } return clan_num.to_int(); }