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

	<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>2010-02-12T12:29:00-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Geo]]></name></author>
		<updated>2010-02-12T12:29:00-04:00</updated>

		<published>2010-02-12T12:29:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=92076#p92076</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=92076#p92076"/>
		<title type="html"><![CDATA[ZNC Nickserv.ccp Module..]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=92076#p92076"><![CDATA[
Oks i Got It.. and what do you think, is there any module, or is possible to create, to make ZNC user work on !commands.. Public commands i mean.. !join !part .. etc.. For example as psybnc .SCRIPT works. <br>Any IDEA?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11088">Geo</a> — Fri Feb 12, 2010 12:29 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2010-02-11T10:54:19-04:00</updated>

		<published>2010-02-11T10:54:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=92054#p92054</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=92054#p92054"/>
		<title type="html"><![CDATA[ZNC Nickserv.ccp Module..]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=92054#p92054"><![CDATA[
A .cpp file is a C++ sourcecode file. It needs to be compiled into a loadable object to be "runnable". I've hardly ever come across a software package that compiles it's own C/C++ modules on the fly - honestly, I would be surprised if ZNC would do that. Some of the reasons are that compiling C/C++ code is rather resource-intensive, and requires a suitable build environment (access to needed header files, external libraries, etc).<br><br>Simply restarting an application would only (re)load whatever object files are currently present on the filesystem - if you didn't recompile the module, the object file would still have the same old instructions...<br><br>A look at eggdrop and it's modules (given this is an eggdrop forum...):<br>There's no automated rebuild of modules. It's all done using the make-scripts in the source tree. Simply dropping some module source into the installation tree will not do anything.<br>Eggdrop modules depend heavily on static resources within the eggdrop binary. For a module to work reliably, it should really be linked against the very binary that will load it.<br>The source tree is not included when you perform the last step of the build/installation ("make install"), if you've removed the sources and later want to add a new module, you're pretty much back to square one.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Thu Feb 11, 2010 10:54 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Geo]]></name></author>
		<updated>2010-02-11T04:54:08-04:00</updated>

		<published>2010-02-11T04:54:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=92048#p92048</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=92048#p92048"/>
		<title type="html"><![CDATA[ZNC Nickserv.ccp Module..]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=92048#p92048"><![CDATA[
Hinesty i didnt do it.. ill try nce idea.. but i thought it would work with restart also.. as its loaded all modules again but doesnt work<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11088">Geo</a> — Thu Feb 11, 2010 4:54 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2010-02-09T19:36:49-04:00</updated>

		<published>2010-02-09T19:36:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=92030#p92030</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=92030#p92030"/>
		<title type="html"><![CDATA[ZNC Nickserv.ccp Module..]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=92030#p92030"><![CDATA[
Did you remember to recompile the module?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Tue Feb 09, 2010 7:36 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Geo]]></name></author>
		<updated>2010-02-08T16:23:29-04:00</updated>

		<published>2010-02-08T16:23:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=92019#p92019</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=92019#p92019"/>
		<title type="html"><![CDATA[ZNC Nickserv.ccp Module..]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=92019#p92019"><![CDATA[
FORUM IS DEAD! CLOSED!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11088">Geo</a> — Mon Feb 08, 2010 4:23 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Geo]]></name></author>
		<updated>2010-02-06T04:49:32-04:00</updated>

		<published>2010-02-06T04:49:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=91973#p91973</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=91973#p91973"/>
		<title type="html"><![CDATA[ZNC Nickserv.ccp Module..]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=91973#p91973"><![CDATA[
<strong class="text-strong">Oh and Here iS The nickserv.cpp<br></strong><div class="codebox"><p>Code: </p><pre><code>/* * Copyright (C) 2004-2009  See the AUTHORS file for details. * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 as published * by the Free Software Foundation. */#include "User.h"class CNickServ : public CModule{public:MODCONSTRUCTOR(CNickServ){}virtual ~CNickServ(){}virtual bool OnLoad(const CString&amp; sArgs, CString&amp; sMessage){if (sArgs.empty())m_sPass = GetNV("Password");elsem_sPass = sArgs;return true;}virtual void OnModCommand(const CString&amp; sCommand){CString sCmdName = sCommand.Token(0).AsLower();if (sCmdName == "set") {CString sPass = sCommand.Token(1, true);m_sPass = sPass;SetNV("Password", m_sPass);PutModule("Password set");} else if (sCmdName == "clear") {m_sPass = "";DelNV("Password");} else {PutModule("Commands: set &lt;password&gt;, clear");}}void HandleMessage(CNick&amp; Nick, const CString&amp; sMessage){if (!m_sPass.empty()&amp;&amp; Nick.GetNick().Equals("nickserv@services.dal.net")&amp;&amp; (sMessage.find("msg") != CString::npos || sMessage.find("authenticate") != CString::npos)&amp;&amp; sMessage.AsUpper().find("IDENTIFY") != CString::npos&amp;&amp; sMessage.find("help") == CString::npos) {PutIRC("PRIVMSG nickserv@services.dal.net :IDENTIFY " + m_sPass);}}virtual EModRet OnPrivMsg(CNick&amp; Nick, CString&amp; sMessage){HandleMessage(Nick, sMessage);return CONTINUE;}virtual EModRet OnPrivNotice(CNick&amp; Nick, CString&amp; sMessage){HandleMessage(Nick, sMessage);return CONTINUE;}private:CStringm_sPass;};MODULEDEFS(CNickServ, "Auths you with NickServ")</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11088">Geo</a> — Sat Feb 06, 2010 4:49 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Geo]]></name></author>
		<updated>2010-02-06T04:39:28-04:00</updated>

		<published>2010-02-06T04:39:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=91971#p91971</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=91971#p91971"/>
		<title type="html"><![CDATA[ZNC Nickserv.ccp Module..]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=91971#p91971"><![CDATA[
I hope you All know about ZNC bouncer..  <br>  The Problem Is That when im using Auto Identify ( Nickserv module ) There is Error When its trying to identify to nickserv ( i mean DALNET Services.. ) Here we go:<br> -NickServ- Your nick will be changed in 60 seconds if you do not comply.<br>-<br>-NickServ- Error! "/msg NickServ" is no longer supported.  Use "/msg <a href="mailto:nickserv@services.dal.net">nickserv@services.dal.net</a>" or "/nickserv" instead.<br>-<br> I Got Problem and Changed The Nickserv.cpp. here is the line Which I Changed:<div class="codebox"><p>Code: </p><pre><code>&amp;&amp; sMessage.AsUpper().find("IDENTIFY") != CString::npos&amp;&amp; sMessage.find("help") == CString::npos) {PutIRC("PRIVMSG nickserv :IDENTIFY " + m_sPass); </code></pre></div>And I change The " nickserv "   with   " <a href="mailto:nickserv@services.dal.net">nickserv@services.dal.net</a> " . here its.. <div class="codebox"><p>Code: </p><pre><code> &amp;&amp; sMessage.AsUpper().find("IDENTIFY") != CString::npos&amp;&amp; sMessage.find("help") == CString::npos) {PutIRC("PRIVMSG nickserv@services.dal.net :IDENTIFY " + m_sPass);</code></pre></div> <br>I killed The Process and Started again but it gave me the same error.. ( - Error! "/msg NickServ" ) <br>Does Anyone has whats the clue of it?? <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_arrow.gif" width="15" height="15" alt=":arrow:" title="Arrow"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11088">Geo</a> — Sat Feb 06, 2010 4:39 am</p><hr />
]]></content>
	</entry>
	</feed>
