Search results

  1. N

    Conditional Switch Familiar Script

    Heh well I guess theres aways the use this command: "have_familiar( familiar pet )" found in here... http://wiki.kolmafia.us/?page_id=8. Have a look in the "Part 1 - Your character" section too since theres some familiar info stuff there too. Oh and look at your code... the "If" check... if you...
  2. N

    Condition for drunkenness

    Uh care to explain in more detail? I don't completely understand what your asking but if your using ASH scripts then this link seems to be what your asking for? http://wiki.kolmafia.us/?page_id=6 If your using CLI scripting then I'll let someone else answer this. Oh wait... do you mean like...
  3. N

    GCLI print() in color

    Not going to add a "colour" function either then? Heh Back to "clearing" the GCLI with a many-o print(".");
  4. N

    GCLI print() in color

    Uhhh does CCS parse in the GCLI properly?
  5. N

    GCLI print() in color

    *Stares blankly*... Righteo >>. If your printing reminders at the end of the script and all the text is "distracting" there is a way to script a "cls"... its a open/close html tag without any text in-between needed. (Or does "cls" actually work in scripts? because last time I checked it didn't...
  6. N

    GCLI print() in color

    Well... there is a way to do this, thanks to mafia's weird attempts to "make any HTML in the GCLI show up as it would in a browser". So this works: string CGCLI( string Text, string HexColour) { return( "<font color=#"+HexColour+">"+Text+"</font>"); } print( CGCLI( "Test", "FF0000")+"ing.")...
  7. N

    Don't mean to be 'teh n00b'

    Uhh taking a wild guess here since I have no idea but try running the .jar and don't unpack it?
  8. N

    Will this work?

    This is probably more of a "advanced" feature but you might want to put in a "AT Song Amount" checks, sure it would only loop 25 times but when you "should know" you cant fit any more songs in your head then you can decide to drop a buff or skip the ode. (As scary as it seems, yes there are...
  9. N

    check for quest status in scripting

    I take it you haven't been informed of the visit_url( string URL) function then eh? It returns the html of the url as a string... effectively means you already have the council to string command.
  10. N

    boolean worth_a_pull(item item_to_check)

    Personally I feel it would be waaaaay too clunky to do what your doing (sticking the items to check on a single line, I personally would do something like this: boolean[ item]WorthPullMap; WorthPullMap[ $item[pine-fresh air freshener] = true; boolean Worth_Pull( item CheckItem) { foreach...
  11. N

    The Castle and the Encounters List

    Heh but when one is on a fresh ascension, you know a certain giant needs to be on trash, which gives us the important position. If you also record the direction you spin the wheel in that ascension you also know where the wheel will be over sessions since it doesn't reset unless you jump the...
  12. N

    The Castle and the Encounters List

    Thats the problem, as far as I know of, there is no way to check if you have or have not been in a choice adventure in your "last adventure". Unless you override "adventure" and turn it into a home-brew visit_url complex which sets a variable... but that sounds a "little" bit too much of a...
  13. N

    The Castle and the Encounters List

    Mafia stores conditions remaining in the user file? Unless you mean HTML parse "adventure" and then set variables accordingly?
  14. N

    put_closet ( meat ) ???

    Err can you explain in more detail whats wrong with it. "It stopped working" isn't the most descriptive bug report. Does it still move meat at all? Does it error out? Does it do something weird? Does it say success but still doesn't do anything?
  15. N

    Re: Scripting "Headdesk" Moments!

    Re: Scripting "Headdesk" Moments! ;) I only turned 16 this year so while I do recognize the names "Beavis and Butthead" I don't really think I properly "remember" it... Old fogies xD
  16. N

    Daily Farming Script (Formerly Known As "Script Noob")

    Re: Script Noob The return types (All of those "boolean") you have at the start of each line doesnt need to be there. Use a ";" after each command in ASH. When defining a string you don't go "string THESTRING" you simply stick the string in speechmarks. So for "string meatfarming", you just...
  17. N

    wasabi sinus buff script

    Uh well I just downloaded 2148 and I had read about the change in division in the main forums and so I assumed it was that. Hello bug! int Test1 = 100; int Test2 = 100/10; int Test3 = (100/10); int Test4 = (100/10)+1; int Test5 = (100/10)+2; int Test6a = 100/10; int Test6b = Test6a+1; float...
  18. N

    I'd like to write a pulverize-bot, but have no idea where to start...

    Oh and when your Kmail parsing, don't forget to find a method of separating the "Kmail Message" and the "Kmail Items" sections. You don't want someone sending you "fake" items >>. Since if you realease this script then anyone can read what strings the script is using to parse the message. (Which...
  19. N

    event triggers

    I specifically chose KWE as the example chat room because of its "No player messages" and so I expect it to hammer the server only when a match is taking place. (Although if chat "refreshes" a blank chat even when player messages are disabled then it probably does hit harder then the current...
  20. N

    event triggers

    Oh yeah, chat >>. I tend to be in /trade if I'm in chat... which in my opinion seems more resource draining then a main.php refresh every 3 or so minutes but I guess it would be more speedy as well. (Depends on the amount of chatting going on I guess) Effectively this requested feature would...
Back
Top