User talk:StDoodle: Difference between revisions
Jump to navigation
Jump to search
imported>StDoodle mNo edit summary |
imported>StDoodle mNo edit summary |
||
Line 11: | Line 11: | ||
==for Grotfang== | ==for Grotfang== | ||
<syntaxhighlight> | |||
int clan_id() { | int clan_id() { | ||
string x = visit_url( "showplayer.php?who=" + my_id().to_string() ); | string x = visit_url( "showplayer.php?who=" + my_id().to_string() ); | ||
Line 21: | Line 22: | ||
return clan_num.to_int(); | return clan_num.to_int(); | ||
} | } | ||
</syntaxhighlight> |
Revision as of 17:36, 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();
}