<?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/14007" />

	<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-09-18T11:14:56-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Fire-Fox]]></name></author>
		<updated>2007-09-18T11:14:56-04:00</updated>

		<published>2007-09-18T11:14:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76015#p76015</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76015#p76015"/>
		<title type="html"><![CDATA[Change the Encoding  so it shows &quot;Å&quot; [SOLVED]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76015#p76015"><![CDATA[
<strong class="text-strong">SOLVED</strong><br>Can eny one tell me why the !nummer is not working...?<div class="codebox"><p>Code: </p><pre><code>set scsetnummertrigger "!sætnummer"bind pub D $scsetnummertrigger  pub_setnummerproc setnummer {nickname setnummer } {global streamip streamport streampass numberif {$setnummer == "" } { set $setnummer}set temp [open "setnummer" w+]puts $temp $setnummerclose $tempset temp [open "setnummer" w+]puts $temp $setnummerclose $tempif { [status] == "1" } { poststuff privmsg " 4AliasFM $setnummer 4AliasFM"} else {putserv "privmsg $nickname :9this has not been announced because the radio is currentlfy offline." }}proc msg_setnummer { nick uhost hand arg } { setnummer $nick $arg }proc pub_setnummer { nick uhost hand chan arg } { global adminchans; if {([lsearch -exact [string tolower $adminchans] [string tolower $chan]] != -1) || ($adminchans == "")} { setnummer $nick $arg }}set scnummertrigger "!nummer"bind pub - $scnummertrigger  pub_nummerproc nummer {target nummer} {global streamip streamport streampass nummerif {[status] == 1} {if {[file exists setnummer]} {set temp [open "setnummer" r]set setnummer [gets $temp]close $tempputserv "privmsg $target :4AliasFM 0Nummer:  7 $nummer 4AliasFM"}}}proc msg_nummer { nick uhost hand arg } { nummer $nick"}proc pub_nummer { nick uhost hand chan arg } { global radiochans; if {([lsearch -exact [string tolower $radiochans] [string tolower $chan]] != -1) || ($radiochans == "")} { nummer $chan  }}</code></pre></div>[/b]<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8230">Fire-Fox</a> — Tue Sep 18, 2007 11:14 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[DragnLord]]></name></author>
		<updated>2007-09-18T02:17:06-04:00</updated>

		<published>2007-09-18T02:17:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76005#p76005</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76005#p76005"/>
		<title type="html"><![CDATA[Change the Encoding  so it shows &quot;Å&quot; [SOLVED]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76005#p76005"><![CDATA[
eggdrop defaults to handles of only 9 characters<br>you will have to edit eggdrop.h to increase that (up to 32)<br><br>if you add a user with a long nick, the bot creates the handle from the first 9 chars and drops the rest<br><br>the following works quite well with domsen's shoutcast script from domsen.org (script in archive is outdated, website has code fixes)<div class="codebox"><p>Code: </p><pre><code>.chattr &lt;handle&gt; +D</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4461">DragnLord</a> — Tue Sep 18, 2007 2:17 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Fire-Fox]]></name></author>
		<updated>2007-09-17T21:25:54-04:00</updated>

		<published>2007-09-17T21:25:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76002#p76002</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76002#p76002"/>
		<title type="html"><![CDATA[Change the Encoding  so it shows &quot;Å&quot; [SOLVED]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76002#p76002"><![CDATA[
<blockquote class="uncited"><div>I'm not sure what +D does over here. See tcl-commands.doc in the eggdrop package for the list of flags available.<br><br>As for adding users with a new flag who get the umode +D, I guess then that can be only done through a tcl script.</div></blockquote>+D is a kind of op posion in the bot so they  can use specified command when <blockquote class="uncited"><div>bind pub D $scsetdjtrigger  pub_setdj</div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8230">Fire-Fox</a> — Mon Sep 17, 2007 9:25 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2007-09-17T21:22:09-04:00</updated>

		<published>2007-09-17T21:22:09-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76001#p76001</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76001#p76001"/>
		<title type="html"><![CDATA[Change the Encoding  so it shows &quot;Å&quot; [SOLVED]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76001#p76001"><![CDATA[
I'm not sure what +D does over here. See tcl-commands.doc in the eggdrop package for the list of flags available.<br><br>As for adding users with a new flag who get the umode +D, I guess then that can be only done through a tcl script.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Mon Sep 17, 2007 9:22 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Fire-Fox]]></name></author>
		<updated>2007-09-17T21:19:49-04:00</updated>

		<published>2007-09-17T21:19:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76000#p76000</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76000#p76000"/>
		<title type="html"><![CDATA[Change the Encoding  so it shows &quot;Å&quot; [SOLVED]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76000#p76000"><![CDATA[
a little offtopic here <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"><br><br>but do you know a way to add users to the bot so that get +D  yes i can add with .chattr &lt;nick&gt; +D but it cuts the name so it not work with a name over x chars ???<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8230">Fire-Fox</a> — Mon Sep 17, 2007 9:19 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Fire-Fox]]></name></author>
		<updated>2007-09-17T21:17:44-04:00</updated>

		<published>2007-09-17T21:17:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=75999#p75999</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=75999#p75999"/>
		<title type="html"><![CDATA[Change the Encoding  so it shows &quot;Å&quot; [SOLVED]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=75999#p75999"><![CDATA[
<blockquote class="uncited"><div>Sorry my bad, the code is fixed above.</div></blockquote><br>BIG thanks for all your help it works now <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"> <br><br>once again THANKS <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8230">Fire-Fox</a> — Mon Sep 17, 2007 9:17 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2007-09-17T21:15:05-04:00</updated>

		<published>2007-09-17T21:15:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=75998#p75998</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=75998#p75998"/>
		<title type="html"><![CDATA[Change the Encoding  so it shows &quot;Å&quot; [SOLVED]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=75998#p75998"><![CDATA[
Sorry my bad, the code is fixed above.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Mon Sep 17, 2007 9:15 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Fire-Fox]]></name></author>
		<updated>2007-09-17T21:10:51-04:00</updated>

		<published>2007-09-17T21:10:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=75997#p75997</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=75997#p75997"/>
		<title type="html"><![CDATA[Change the Encoding  so it shows &quot;Å&quot; [SOLVED]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=75997#p75997"><![CDATA[
when i type "skål" or "skaal" in the chan <br><br>i get this i partyline<br><br>[pub_skaal]: can't read "mynewtext": no such variable<br><br>the code i have now:<br><div class="codebox"><p>Code: </p><pre><code>set chans "#aliasfm"set schelptrigger "skål"set mytext "4RÅBER 4SSSSSS7K3Å11Å13Å12Å4Å9Å3Å6Å7Å4Å10å8å9å14å13å5L5L5L5L5L5L - 4AliasFM!!!"bind pub - $schelptrigger pub_skaalproc pub_skaal {nick uhost hand chan text} { regsub -all {aa} [encoding convertfrom iso8859-1 $::mytext] "\354" $mynewtext putserv "PRIVMSG $chan :$mynewtext"}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8230">Fire-Fox</a> — Mon Sep 17, 2007 9:10 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2007-09-17T21:07:54-04:00</updated>

		<published>2007-09-17T21:07:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=75996#p75996</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=75996#p75996"/>
		<title type="html"><![CDATA[Change the Encoding  so it shows &quot;Å&quot; [SOLVED]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=75996#p75996"><![CDATA[
This script will replace any occurences of "aa" in $mytext with "å" and assign the substituted string to $mynewtext, which will be displayed on the channel.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Mon Sep 17, 2007 9:07 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Fire-Fox]]></name></author>
		<updated>2007-09-17T20:53:25-04:00</updated>

		<published>2007-09-17T20:53:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=75995#p75995</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=75995#p75995"/>
		<title type="html"><![CDATA[Change the Encoding  so it shows &quot;Å&quot; [SOLVED]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=75995#p75995"><![CDATA[
<blockquote class="uncited"><div>You can use this then:<br><div class="codebox"><p>Code: </p><pre><code>set chans "#aliasfm"set schelptrigger "skaal"set mytext "afdasgfaagfsaaasgfryuitkaaaarsgtrdythgftrrqw"bind pub - $schelptrigger pub_skaalproc pub_skaal {nick uhost hand chan text} { regsub -all {aa} [encoding convertfrom iso8859-1 $::mytext] "\354" $mynewtext putserv "PRIVMSG $chan :$mynewtext"}</code></pre></div>Not tested, but this should do it hopefully.</div></blockquote>set mytext shell i replace that with this:<br>RÅBER 4SSSSSS7K3Å11Å13Å12Å4Å9Å3Å6Å7Å4Å10å8å9å14å13å5L5L5L5L5L5L - 4AliasFM!!!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8230">Fire-Fox</a> — Mon Sep 17, 2007 8:53 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2007-09-17T21:14:41-04:00</updated>

		<published>2007-09-17T20:43:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=75994#p75994</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=75994#p75994"/>
		<title type="html"><![CDATA[Change the Encoding  so it shows &quot;Å&quot; [SOLVED]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=75994#p75994"><![CDATA[
You can use this then:<br><div class="codebox"><p>Code: </p><pre><code>set chans "#aliasfm"set schelptrigger "skaal"set mytext "afdasgfaagfsaaasgfryuitkaaaarsgtrdythgftrrqw"bind pub - $schelptrigger pub_skaalproc pub_skaal {nick uhost hand chan text} { regsub -all {aa} [encoding convertfrom iso8859-1 $::mytext] "\354" mynewtext putserv "PRIVMSG $chan :$mynewtext"}</code></pre></div>Not tested, but this should do it hopefully.<br><em class="text-italics"><span style="color:red">Edited: Fixed error</span></em><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Mon Sep 17, 2007 8:43 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Fire-Fox]]></name></author>
		<updated>2007-09-17T20:31:06-04:00</updated>

		<published>2007-09-17T20:31:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=75993#p75993</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=75993#p75993"/>
		<title type="html"><![CDATA[Change the Encoding  so it shows &quot;Å&quot; [SOLVED]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=75993#p75993"><![CDATA[
can see any salution but it's me hehe im not hardcore to eggdrop....<br><br>but i have this code here:<br><br>i need the "aa" replaced with "å"<br><div class="codebox"><p>Code: </p><pre><code>###########################     SKÅL        #########################set chans "#aliasfm"set schelptrigger "skaal"bind pub - $schelptrigger pub_skaalproc pub_skaal {nick uhost hand chan text} {putserv "privmsg $chan $nick :4RÅBER 4SSSSSS7K3Å11Å13Å12Å4Å9Å3Å6Å7Å4Å10å8å9å14å13å5L5L5L5L5L5L - 4AliasFM!!!"}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8230">Fire-Fox</a> — Mon Sep 17, 2007 8:31 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2007-09-17T20:21:23-04:00</updated>

		<published>2007-09-17T20:21:23-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=75990#p75990</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=75990#p75990"/>
		<title type="html"><![CDATA[Change the Encoding  so it shows &quot;Å&quot; [SOLVED]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=75990#p75990"><![CDATA[
Take a look at this thread:<br><a href="http://forum.egghelp.org/viewtopic.php?t=11325" class="postlink">http://forum.egghelp.org/viewtopic.php?t=11325</a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Mon Sep 17, 2007 8:21 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Fire-Fox]]></name></author>
		<updated>2007-09-17T20:17:39-04:00</updated>

		<published>2007-09-17T20:17:39-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=75989#p75989</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=75989#p75989"/>
		<title type="html"><![CDATA[Change the Encoding  so it shows &quot;Å&quot; [SOLVED]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=75989#p75989"><![CDATA[
have you searched for "iso8859-1" in src/tcl.c i can't find this i my eggdrop :O<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8230">Fire-Fox</a> — Mon Sep 17, 2007 8:17 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2007-09-17T20:05:30-04:00</updated>

		<published>2007-09-17T20:05:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=75988#p75988</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=75988#p75988"/>
		<title type="html"><![CDATA[Change the Encoding  so it shows &quot;Å&quot; [SOLVED]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=75988#p75988"><![CDATA[
<a href="http://forum.egghelp.org/viewtopic.php?t=12433&amp;highlight=encoding" class="postlink">encoding problems</a><br><br>Using the forum <a href="http://forum.egghelp.org/search.php" class="postlink">Search</a> function is such a joyous thing. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Mon Sep 17, 2007 8:05 pm</p><hr />
]]></content>
	</entry>
	</feed>
