promotional bannermobile promotional banner

IfThen

Abandoned
IfThen
<p>More help - Variables</p>

More help - Variables

<p>More help - Syntax</p>

More help - Syntax

<p>Edit box</p>

Edit box

<p>More help - Documentation</p>

More help - Documentation

<p>More help - Arguments</p>

More help - Arguments

<p>Chat message</p>

Chat message

<p>IfThen</p>

IfThen

Description

Allows you to create your own IF THEN statements that will dynamically change the function of a button.

This addon is intended for people that have a basic understanding of programming. Specifically conditional If-Then statements.

The addon allows you to write your own if-then statements that will be evaluated and run whenever you press a button, or they can trigger on certain events ingame.
It provides a simple text editor, a fully documented API and some simple If-Then syntax so that you can string together almost anything you want to react to.

Examples:

IF HasOpenQuest("My daily fishing quest") AND InZone("Stormwind") 
THEN Cast("Fishing");
OnEvent("GroupInvite") AND InLFGQueue() 
THEN DeclineInvite() AND Reply("Sorry, I am already in the LFG queue");


Look at the FAQ page for the most asked questions, and the Examples page for examples.

Please post bugreports and feature requests on the Curseforge.com project page

The IfThen Team

profile avatar
  • 4
    Projects
  • 100.6K
    Downloads

More from Jarod_24

  • Links in Chat project image

    Links in Chat

    • 73.8K
    • Addons

    Shows a popup window when clicking web-links in chat.

    • 73.8K
    • September 9, 2017
    • Addons
  • SetGuildRank project image

    SetGuildRank

    • 4.4K
    • Addons

    Allows you to change the rank of multiple guildmembers in your party/raid with a single command

    • 4.4K
    • March 31, 2017
    • Addons
  • CompressMacro project image

    CompressMacro

    • 4.2K
    • Addons

    Compress your macros.

    • 4.2K
    • March 31, 2017
    • Addons
    • +4
  • Links in Chat project image

    Links in Chat

    • 73.8K
    • Addons

    Shows a popup window when clicking web-links in chat.

    • 73.8K
    • September 9, 2017
    • Addons
  • SetGuildRank project image

    SetGuildRank

    • 4.4K
    • Addons

    Allows you to change the rank of multiple guildmembers in your party/raid with a single command

    • 4.4K
    • March 31, 2017
    • Addons
  • CompressMacro project image

    CompressMacro

    • 4.2K
    • Addons

    Compress your macros.

    • 4.2K
    • March 31, 2017
    • Addons
    • +4