Talk:Combat Macros

From A KoL Wiki

This page starts out "Commonly called BALLS (Basic Automated Loathing Language Scripts)". Huh? This came out last night, how can any name for it be "common" yet? Particularly such a stupid name. --Club (#66669) (Talk) 00:30, 22 April 2010 (UTC)

  • Because some people actually pay attention to Darth? Although, really, do you think a stupid name is somehow NOT exactly the flavor of KoL? You might want to go rage at The LAAAAME Observatory then. --Flargen 01:01, 22 April 2010 (UTC)
  • For the actual history of the phrase, CDM coined it. He tried pushing "BALL" = Basic Automated Loathing Language, but it didn't go over well with people, and then he added the Scripts on the end, and apparently people loved it. It's pretty ridiculous, but it's what we've been calling the language. Fun jokes like "everyone loves CDM's BALLS" are fairly rampant. --RoyalTonberry 02:56, 22 April 2010 (UTC)
    • Alright, so that's a valid statement. I don't have to like it. (Almost anything that happens in the forums is alien to me. I loathe web forums.) --Club (#66669) (Talk) 14:59, 22 April 2010 (UTC)

Icon Images

Is there currently a way to view all the available images? There's a Jickenwings page with all item images, but that doesn't include images for other things like skills and effects. --VinnyB 07:52, 25 April 2010 (UTC)

Archive Site?

So does anyone have an archive site for macro scripts yet? If so, we should link it here. If not, does someone want to undertake that task? While a wiki is probably a good way to store these, I can't volunteer this wiki for them. --Club (#66669) (Talk) 18:20, 23 April 2010 (UTC)

Extremely minor bug

 sub XX
  while hppercentbelow 50
   use filthy po
  endwhile
  use miniborg ,miniborg
 endsub
 
 pickpocket
 call XX
 repeat

The above script will funksling both a filthy poultice and a miniborg when health drops below 50%. Ill bet 99% of the time this bug comes into play, it will not negatively affect the player but... some ppl may script expensive consumable items. Just a heads up.

The above script also gets mangled by the wiki... dunno what tags to use.--Judge Omega 17:05, 12 May 2010 (UTC)

  • Fixed the alignment for you. There are still a lot of bugs with macros, sadly --RoyalTonberry 17:40, 12 May 2010 (UTC)

Formatting

Someone needs to resolve the ambiguity of quotes being used to set off commands. Since quotes actually have meaning within the scripting language, it's a little confusing.

It would be better to use code tags ala <code>sub [name]</code> which would produce something like

call [name]
Calls a subroutine which is defined by sub [name]

I'm not completely sure if all the phrases put in quotes actually should be in code blocks, otherwise I'd do it myself.  :) I suppose I will anyway, if no-one with better script-fu is around. --Starwed 16:13, 2 June 2010 (UTC)


Although it is not in the original forum post description, it is possible to use comments by beginning a line with a hash symbol(#). Am I correct? --Philmasterplus 04:25, 12 June 2010 (UTC)

  • Yes, you can, however it IS in the original forum post description: "Also, any lines that start with a # character will be treated as "comments" and ignored. Use indentation and comments to help make your macros easier for other people to understand! They will love you and have your babies. Maybe."--Erich 16:31, 12 June 2010 (UTC)

Odd note of possible use for scripters (who don't wish to deal with entity encoding more than necessary): "ANDAND" is an acceptable substitute for "&&" in a macro, likewise for "OROR" vs. "||" --StDoodle 16:27, 28 October 2010 (UTC)

Never mind the above; I tested it improperly. Sometimes the macro will execute, but it doesn't actually interpret "ANDAND" the same as "&&" and sim. for "OROR". Bah. --StDoodle 21:05, 20 January 2011 (UTC)