User talk:StDoodle

From Kolmafia
Revision as of 01:00, 14 March 2010 by imported>StDoodle
Jump to navigation Jump to search

to_string()

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)


Triple equal sign means "exactly equal to" (value & type). Same result, anyways. --Heeheehee 19:42, 7 March 2010 (UTC) Apparently Mafia doesn't recognize the triple-equals sign, though. Huh. (That bit of code was copy-pasted from the seltzer example, then modified slightly) --Heeheehee 02:25, 8 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();
}