Archive > BeBot Hyborian modules
Guild Recruitment
freakyfreak:
How can I post this script in Global Chat.
Is there any possibility?
ST34LTH:
dont think u can post this in Global but u can call it from another script, e.g
make a script that has the commant /tell <botname> !ginfo. so when someone clicks on it, it will send them the guild information
Monk4y:
Create a txt file called rec.txt in your scripts game directory and copy this text to it:
--- Code: ---<a href="text://mfs<br><br><br><br><br><a href='chatcmd:///tell INSERTBOTNAME !ginfo'>Click here<br></a>">INSERTGUILDNAME is Recruiting!</a>
--- End code ---
Save it (dont forget to change INSERTBOTNAME and INSERTGUILDNAME)
Then simply type /rec.txt in global and you got your global add. (assuming your bot is up and the ginfo module is present :p)
freakyfreak:
Thx Monk4Y,
The script works fine.
One Question, What shoul i paste in the Guildinfo.php that the Bot tells me who clicked on the message
--- Code: --- $txt.= "GUILD INFO SECTION 2\n\n";
$txt.= "##end##\n";
$txt.= "##Silver##";
$txt.= "GUILD INFO SECTION 3\n\n";
$txt.= "##end##";
return $this -> bot -> core("tools") -> make_blob("WHAT YOU WANT THE BOT TO TELL THE PLAYER", $txt)
--- End code ---
Here is the line where the bot post it in the "tell"
freakyfreak:
--- Quote from: freakyfreak on April 07, 2010, 03:44:49 pm ---Thx Monk4Y,
The script works fine.
One Question, What shoul i paste in the Guildinfo.php that the Bot tells me who clicked on the message
--- Code: --- $txt.= "GUILD INFO SECTION 2\n\n";
$txt.= "##end##\n";
$txt.= "##Silver##";
$txt.= "GUILD INFO SECTION 3\n\n";
$txt.= "##end##";
return $this -> bot -> core("tools") -> make_blob("WHAT YOU WANT THE BOT TO TELL THE PLAYER", $txt)
--- End code ---
Here is the line where the bot post it in the "tell"
--- End quote ---
Can anyone help me.
I donĀ“t have any clue
Navigation
[0] Message Index
[*] Previous page
Go to full version