Check for new clan member applications

zarqon

Well-known member
A major reason people don't join alliances is delay in responding to applicants. So I threw this in my login script to help me remember:
PHP:
// check clan apps
string app = visit_url("clan_office.php");
if (index_of(app, "There are ") > 0) {
  app = substring(app, index_of(app, "There are ")+10);
  app = substring(app, 0, index_of(app, " "));
  if (app != "no") print("There are "+app+" new member applications!","blue");
}
It only displays something if there are applicants (and your character can see them). Just thought someone else might find it useful.
 
Last edited:

Veracity

Developer
Staff member
You mean the issue with the forum software that converted the greater than sign in his code block into a character entity when we migrated to the new system?
 

Bale

Minion
You mean the issue with the forum software that converted the greater than sign in his code block into a character entity when we migrated to the new system?

Yeah, it would be nice if asturia could do a global search and replace on the database to fix that.

Also, he could possibly fix all those borked quote tags while he's at it.
 
Top