egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Butler tcl

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help
View previous topic :: View next topic  
Author Message
Diamond85
Voice


Joined: 25 Oct 2008
Posts: 27

PostPosted: Mon May 31, 2010 3:42 pm    Post subject: Butler tcl Reply with quote

Butler.tcl v. 0.0.2

mann kann jetzt nicht nur in der Partyline/DCC das script aktivieren sondern auch im channel mit: .Butler / .butler an / .butler aus
Man can now activate not only the party line / DCC the script but also in the channel with: .Butler / .butler an / .butler aus


Code erweitert, verbessert und Fehler behoben
Code developed, improved and bugs fixed

.chaninfo #chan:
[31/05/10] (21:30:06) <Butler> User defined channel flags:
[31/05/10] (21:30:06) <Butler> +BU


fuer code verbesserung und erweiterung wird sich auch bedanke Very Happy
for code improvement and expansion is also thanks Very Happy


wenn es geht bitte in deutch weil mein englisch sehr sehr schlecht ist ....
please when it comes in German because my English is very very bad


okay thanks.
worked[url][/url][url][/url][url][/url]


Last edited by Diamond85 on Thu Jun 03, 2010 9:41 pm; edited 5 times in total
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Mon May 31, 2010 3:55 pm    Post subject: Reply with quote

bu(menuechar) is accessed as a local variable within the proc "help", though it's most likely supposed to access the previously defined globalspace variable with the same name.

Change $bu(menuechar) with $::bu(menuechar) within the help proc, and the error should go away.

That said, this script is riddled with improper use of the lindex- and llength-commands.
_________________
NML_375, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
Diamond85
Voice


Joined: 25 Oct 2008
Posts: 27

PostPosted: Sat Jun 05, 2010 1:57 pm    Post subject: Reply with quote

wie kann ich einen text aus einer text datei der verschiedene zeilen hat in einen channel posten lassen?
how can a text from a text file of several lines is raising up a channel to post?

text Beispiel:
text example:

[[putserv commands]]
putserv <text> [options]
Description: sends text to the server, like '.dump' (intended for direct server commands); output is queued so that the bot won't flood itself off the server.

Options:

-next: push messages to the front of the queue
-normal: no effect

Returns: nothing

Module: server

also wenn jemand ?putserv commands im channel schreibt soll der bot [[putserv commands]] in der text datei finden und jeweils die ganzen zeilen die unter [[putserv commands]] stehen in sein privat schreiben aber wiederum wenn ein botop ?putserv commands schreibt dann soll der bot es nicht in sein privat sondern in den channel schreiben und wenn der botop ?putserv commands <nick> schreibt soll der bot den text in <nicks> privat schreiben ist sowas machbar und wenn ja wie? könnt ihr mir bitte helfen.. weil wenn ich die ganzen texte im .tcl adde werden es über 10.000 zeilen das will ich vermeiden. ich danke euch jetzt schon mal

So if anyone? putserv commands in the channel is to write the bot [[putserv commands]] in the text file and find each of the whole line under the [[putserv commands]] will be write in private but again if one writes botop? putserv commands should then be offered to the private but not in his review in the channel and if the botop? putserv <nick> commands writes the text offered in private is something like writing <nicks> feasible and if so how? can you help me please .. because if I have the entire text in. tcl adde there are over 10,000 lines to avoid that I want. I thank you already once

Code:
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber