0 Members and 1 Guest are viewing this topic.
Leader:LeadernameOfficers:Officers1, Officers2, Officers3, Officers4,Officers5, Officers6, Officers7, Officers8Website:http://myguildname.com/Guild City:T3 city Renown Level Five(average 5 to 10 mill points a week)Guild Activities:What we are doing nowGuild Info:Some guild info herePlease message the officer who posted the recruitment link or click on one of the names below to PM, Requesting Information.OrOfficers1, Officers2, Officers3, Officers4,Officers5, Officers6, Officers7, Officers8 We look forward to talking to you about our AoC family and hope you choose to make this your new home.Thanks!
<?php$recruit = new Recruit($bot);class Recruit extends BaseActiveModule{ function __construct(&$bot) { parent::__construct(&$bot, get_class($this)); $this -> register_command('all', 'recruit', 'ANONYMOUS'); } function command_handler($name, $msg, $origin) { return $this -> make_recruit(); } function make_recruit() { $content = implode("", file("./txt/recruit.txt")); $content = $this -> replace_player_status_tags($content); return "<guildname> :: " . $this -> bot -> core("tools") -> make_blob("Current Recruitment", $content); } function replace_player_status_tags($msg) { while (strpos($msg,"<PLAYER_STATUS_")!==false){ $spos = strpos($msg,"<PLAYER_STATUS_"); $epos = strpos($msg,">",$spos+15); $pname = substr($msg,$spos+15,$epos-($spos+15)); $pstatus = $this -> bot -> core("online") -> get_online_state($pname); $msg = str_replace("<PLAYER_STATUS_".$pname.">", $pstatus['content'] , $msg); } return $msg; } }?>