The elsif statement is used to check another condition. The else statement is used when there is no other condition to check.
Example:
Code:
if ($faction == 1)
{
quest::say("Faction 1!");
}
elsif ($faction == 2)
{
quest::say("Faction 2!");
}
else
{
quest::say("Faction 3+!");
}