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

	<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>2020-01-15T02:08:55-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Brut]]></name></author>
		<updated>2020-01-15T02:08:55-04:00</updated>

		<published>2020-01-15T02:08:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=107981#p107981</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=107981#p107981"/>
		<title type="html"><![CDATA[Change Required in Nick Completer]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=107981#p107981"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>alias firstchar {  if (!$isid) { return }  var %a = 1, %b, %c, %d, %t = $1-  while ($gettok(%t,%a,32)) {    %b = $v1    %c = $upper($left(%b,1))    %d = $lower($mid(%b,2))    %t = $replace(%t,%b,$+(%c,%d))    inc %a  }  return %t}on *:input:#: {  if ($left($1,1) != /) {    var %x = 1, %z = $1-    while ($ [ $+ [ %x ] ]) {      var %y = $nick(#,0)      while (%y) {        if ($nick(#,%y) == $eval($ [ $+ [ %x ] ])) {          var %z = $replace(%z,$nick(#,%y),$+($nickcom($nick(#,%y).pnick),))        }        dec %y      }      inc %x    }    ;---------- Text replacements    var %z = $text_replace(%z)    ;-----------    msg # $firstchar(%z)    halt  }}on *:input:?: {  if ($left($1,1) != /) {    var %x = 1, %z = $1-    while ($ [ $+ [ %x ] ]) {      if ($target == $eval($ [ $+ [ %x ] ])) {        var %z = $replace(%z,$target,$+($nickcom($target),))            }      inc %x    }    ;---------- Text replacements    var %z = $text_replace(%z)    ;-----------    msg $target $firstchar(%z)    halt  }};---------- Text replacementsalias text_replace {  var %z = $1-  var %z = $reptok(%z,lol,laυgн oυт loυd,0,32)  var %z = $reptok(%z,brb,ße ßight ßack,0,32)  var %z = $reptok(%z,tyt,Takê you® Timê,0,32)  var %z = $reptok(%z,LOLZ,7P14ait 7P14akar 7P14akar 7K14ar 7H14ansinG,0,32)  var %z = $reptok(%z,ala,Alhamdolilah! I'm fine.,0,32)  var %z = $reptok(%z,ah,Allah NiGheBaN.,0,32)  var %z = $reptok(%z,wb,WêL©õme ßã©k,0,32)  var %z = $reptok(%z,salam,اسلام علیکم ورحمتہ اللہ و برکاتہ αѕѕαℓαм σ αℓαιкυм ωαяαнмαтυℓℓαн ωαвαяαкαтнυ ,0,32)  var %z = $reptok(%z,ws,وعليكم السلام ورحمة الله وبركاتة - walaιĸυм aѕѕalaм waraнмaтυllaн waвaraĸaтaнυ,0,32)  var %z = $reptok(%z,wb,wêLçömê ßåck,0,32)  var %z = $reptok(%z,:o,(°.°),0,32)  return %z}alias nickcom {  if (($left($1,1) = @) || ($left($1,1) = +)) {    var %x = $+($left($1,1),$chr(2),$chr(3),$rand(1,15),$mid($1,2,1),$chr(3),$chr(2),$mid($1,3-))    return %x  }  else  {    var %x = $+($chr(2),$chr(3),$rand(1,15),$left($1,1),$chr(3),$chr(2),$mid($1,2-))    return %x  }}</code></pre></div>This is a kind of Mixture of 3 Codes. First Letter each word Capital, Nick Completor and Acronym. <br>The change required in NICK COMPLETOR, It posts nickname's first letter with Random Color and in Small Caps. <br>I actually want to remove COLOR Option and Nick its actual position.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12821">Brut</a> — Wed Jan 15, 2020 2:08 am</p><hr />
]]></content>
	</entry>
	</feed>
