<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forum.eggheads.org/app.php/feed/topic/13658" />

	<title>egghelp/eggheads community</title>
	<subtitle>Discussion of eggdrop bots, shell accounts and tcl scripts.</subtitle>
	<link href="https://forum.eggheads.org/index.php" />
	<updated>2007-06-23T20:56:29-04:00</updated>

	<author><name><![CDATA[egghelp/eggheads community]]></name></author>
	<id>https://forum.eggheads.org/app.php/feed/topic/13658</id>

		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2007-06-23T20:56:29-04:00</updated>

		<published>2007-06-23T20:56:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=73848#p73848</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=73848#p73848"/>
		<title type="html"><![CDATA[Advanced greet]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=73848#p73848"><![CDATA[
Ok, so you need a pub bind instead. Read Tcl-commands.doc about the pub bind then you'll know what to change in the RanaUsman:wjoin proc.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sat Jun 23, 2007 8:56 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[TruceBuildman]]></name></author>
		<updated>2007-06-23T20:52:04-04:00</updated>

		<published>2007-06-23T20:52:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=73846#p73846</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=73846#p73846"/>
		<title type="html"><![CDATA[Advanced greet]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=73846#p73846"><![CDATA[
Thanks, it worked, I was thinking if it were possible to be able to request the greeting by a user, because I'd have it set in the topic on how to request the message and instead of each person joining the channel and getting that message forcefully, they could request it and my bot would sent it to them.<br><br>Thanks,<br>Truce.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9080">TruceBuildman</a> — Sat Jun 23, 2007 8:52 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2007-06-23T20:35:35-04:00</updated>

		<published>2007-06-23T20:35:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=73842#p73842</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=73842#p73842"/>
		<title type="html"><![CDATA[Advanced greet]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=73842#p73842"><![CDATA[
Replace $aire with $nick.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sat Jun 23, 2007 8:35 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[TruceBuildman]]></name></author>
		<updated>2007-06-23T20:29:47-04:00</updated>

		<published>2007-06-23T20:29:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=73841#p73841</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=73841#p73841"/>
		<title type="html"><![CDATA[Advanced greet]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=73841#p73841"><![CDATA[
Okay it worked, now how can I make it so that it appears through a private message to everyone who joins the channel? Or else I'll flood the channel if I get more than one person joining at a time.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9080">TruceBuildman</a> — Sat Jun 23, 2007 8:29 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2007-06-23T19:58:31-04:00</updated>

		<published>2007-06-23T19:58:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=73835#p73835</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=73835#p73835"/>
		<title type="html"><![CDATA[Advanced greet]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=73835#p73835"><![CDATA[
That's what the script does. It send a random line from the file. Replace RanaUsman:wjoin proc with this edited version of the proc:<div class="codebox"><p>Code: </p><pre><code>proc RanaUsman:wjoin {nick host handle chan} { global urchan txtfile set aire $urchan set ranadil [open $txtfile r] set readvar [split [read $ranadil] \n] close $ranadil foreach line $readvar {  puthelp "PRIVMSG $aire :$line" }}</code></pre></div>The file should contain your logo (without the quotes).<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sat Jun 23, 2007 7:58 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[TruceBuildman]]></name></author>
		<updated>2007-06-23T19:37:10-04:00</updated>

		<published>2007-06-23T19:37:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=73833#p73833</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=73833#p73833"/>
		<title type="html"><![CDATA[Advanced greet]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=73833#p73833"><![CDATA[
I tried quoting each one, one by one, but it would either post some letters of it (using a different script) and keep posting them till it posted them all, or with THAT script I posted, it would do : <br><br>"                                     "<br><br>with nothing in those quotes, and if I did all of the logo, then I'd only get the last written part as the greet (without the end)<br><br>**EDIT : Now it randomizes....sometimes when I enter it posts one line, sometimes two, and I don't even have the script in my conf :S<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9080">TruceBuildman</a> — Sat Jun 23, 2007 7:37 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2007-06-23T17:14:45-04:00</updated>

		<published>2007-06-23T17:14:45-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=73828#p73828</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=73828#p73828"/>
		<title type="html"><![CDATA[Advanced greet]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=73828#p73828"><![CDATA[
You need to send each line seperately.<div class="codebox"><p>Code: </p><pre><code>set greet { "         _____  _______  _   _    __      __ ____  ______ " "        / ____// ____  // / / /  /  \    / // ___//__  __/" "       / /__  / /   / // /_/ /  / /\ \  / // /_     / /    " .................}foreach line $greet { puthelp "privmsg #channel :$line"}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sat Jun 23, 2007 5:14 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[TruceBuildman]]></name></author>
		<updated>2007-06-23T12:43:17-04:00</updated>

		<published>2007-06-23T12:43:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=73823#p73823</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=73823#p73823"/>
		<title type="html"><![CDATA[Advanced greet]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=73823#p73823"><![CDATA[
I'll post the whole script but honestly at this point I have zero idea on what I am doing so if I am better off getting someone to write me a script let me know.<br><br>BTW: I am just using this script for testing if it COULD work, I'd plan on using a more advanced script as I want to be able to put the greet in notices.<br><div class="codebox"><p>Code: </p><pre><code>#----------------------------------------------------------------------------------------------------------------------##                                             AUTO WELCOME SCRIPT BY RANA USMAN                                        ##----------------------------------------------------------------------------------------------------------------------#### AUTHOR : RANA USMAN### VERSION : 1### EMAIL : coolguy_rusman@yahoo.com , usmanrana33@hotmail.com### URL : www.ranausman.tk , www.airevision.tk### Catch me @ UNDERNET my nick is : ^Rana^Usman################ DESCRIPTION #################Assalam O Aleikum n Hello,so you want to know something about this script hmm ok here we go.the purpose of this script#is to welcome the users who enter the specific channel you put in configuration.You can set customized welcome messages #in a text file known as welcome.txt, Just Open it n Start entering the welcome messages you want ur bot to say.you can set#Welcome messages in your own language too :) it is usefull to attract peoples of your country :).############################= CONFIGURATION SECTION =############################## PUT THE CHANNEL HERE IN WHICH YOU WANT THIS SCRIPT TO WORK #### YOU CAN USE THIS SCRIPT IN ONLY ONE CHANNEL SO DONOT ENTER MORE THAN ONE CHANNEL IT WILL CAUSE TROBLE ##set urchan "#faknet192"## ENTER THE PATH OF THE FILE CONTAINING WELCOME MESSAGES #### IF YOU WILL LEAVE IT AS IT IS YOU HAVE TO PUT THE "welcome.txt" FILE INTO SCRIPTS FOLDER ##set txtfile "scripts/faknet.txt"############################ CONFIGURATION ENDS HERE #############################--------------------------------------------------------------------------------------------------------------------##  SCRIPT STARTS FROM HERE.YOU CAN MAKE MODIFICATIONS AT UR OWN RISK, I DONT RESTRICT YOU TO NOT TO TOUCH THE CODE!  ##--------------------------------------------------------------------------------------------------------------------#bind join - * RanaUsman:wjoinproc RanaUsman:wjoin {nick host handle chan} {global urchan txtfile      set aire $urchan      set ranadil [open $txtfile r]      set readvar [split [read $ranadil] \n]      close $ranadil      putserv "PRIVMSG $aire :[lindex $readvar [rand [llength $readvar]]]"}#Ever Seen such simple coding ??? eh##################################################################################################putlog "\002*Auto Welcome Script* by *Rana Usman* (www.ranausman.tk) has been successfully LOADED"##################################################################################################</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9080">TruceBuildman</a> — Sat Jun 23, 2007 12:43 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[DragnLord]]></name></author>
		<updated>2007-06-23T12:37:31-04:00</updated>

		<published>2007-06-23T12:37:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=73822#p73822</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=73822#p73822"/>
		<title type="html"><![CDATA[Advanced greet]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=73822#p73822"><![CDATA[
If you want help with your script, I suggest posting the entire script.<br>If you are looking for someone to write the script it for you, you should get a moderator to move this to Script Requests.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4461">DragnLord</a> — Sat Jun 23, 2007 12:37 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[TruceBuildman]]></name></author>
		<updated>2007-06-23T10:04:22-04:00</updated>

		<published>2007-06-23T10:04:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=73818#p73818</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=73818#p73818"/>
		<title type="html"><![CDATA[Advanced greet]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=73818#p73818"><![CDATA[
This is an excerpt from the script that I use, it was pretty straightforward.<br><div class="codebox"><p>Code: </p><pre><code>############################= CONFIGURATION SECTION =############################## PUT THE CHANNEL HERE IN WHICH YOU WANT THIS SCRIPT TO WORK #### YOU CAN USE THIS SCRIPT IN ONLY ONE CHANNEL SO DONOT ENTER MORE THAN ONE CHANNEL IT WILL CAUSE TROBLE ##set urchan "#faknet192"## ENTER THE PATH OF THE FILE CONTAINING WELCOME MESSAGES #### IF YOU WILL LEAVE IT AS IT IS YOU HAVE TO PUT THE "welcome.txt" FILE INTO SCRIPTS FOLDER ##set txtfile "scripts/faknet.txt"</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9080">TruceBuildman</a> — Sat Jun 23, 2007 10:04 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[TruceBuildman]]></name></author>
		<updated>2007-06-23T09:43:38-04:00</updated>

		<published>2007-06-23T09:43:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=73817#p73817</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=73817#p73817"/>
		<title type="html"><![CDATA[Advanced greet]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=73817#p73817"><![CDATA[
I am having a little trouble making a greet for my bot.<br>The main issue I am having is the fact that I am using ASCII in the begining of the greet (slashes and such to make large letters, much like when your eggdrop greets you when you DCC him, that logo). My bot isnt able to display the message fully in the channel (Only posts one line of it), and other scripts I've tried caused my eggdrop to crash, but I am guessing it's because of the greet itself, not the script, my bot loads other scripts fine.<br><br>Basically the best way to describe what I am doing is trying to make my eggdrop post this into my notice screen (not in channel, but in the other window...)<br><br><div class="codebox"><p>Code: </p><pre><code>         _____  _______  _   _    __      __ ____  ______         / ____// ____  // / / /  /  \    / // ___//__  __/        / /__  / /   / // /_/ /  / /\ \  / // /_     / /          /  ___// /__ / //    /   / /  \ \/ // __/    / /      / /    / /   / // /\  \  / /    \  // /__    / /     /_/    /_/   /_//_/  \__\/ /      \//_____/  /_/                                                                                                                      11111      9999999999       222222222               111111      9999999999     222     222                  111      999    999    222       222                 111      999    999              222                 111      9999999999             222                  111      9999999999            222                   111           99999           222                    111          99999           222                   1111111       99999           22222222                   11111111111    99999          222222222222                                                                  PRETTY MUCH MORE POPULAR THEN FOOTBALL!                       (Sean Green, iD Software) </code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9080">TruceBuildman</a> — Sat Jun 23, 2007 9:43 am</p><hr />
]]></content>
	</entry>
	</feed>
