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 

addme by Ozh
Goto page Previous  1, 2
 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases
View previous topic :: View next topic  
Author Message
Zerg
Halfop


Joined: 20 May 2006
Posts: 49

PostPosted: Sat Aug 23, 2008 4:41 pm    Post subject: Reply with quote

lostmyaim wrote:
Now its official, Addme+Fixes.tcl by Speechless is operational and ready for those who want to organize games through IRC.

Thanks to Speechless for his patience. He did a really great job on this.

Thanks again Smile


hello,
can you send the fix script to the tcl archive on egghelp.org?
because this was erase...

thank you very much.
Back to top
View user's profile Send private message
Zerg
Halfop


Joined: 20 May 2006
Posts: 49

PostPosted: Thu Aug 28, 2008 11:46 am    Post subject: Reply with quote

now the link works.
i have the same problem after playing an testing your fixed addscript.

after restart i cant add anymore.

Partyline error:
[17:32] Tcl error [addme_addname]: can't read "tmp": no such variable

i have test to delete all add temp datas on the script dir and restart the bot, but this dont work.

thank you very much for help

Code:

<mynick> !add
<botnick> [21:11] Tcl error [addme_addname]: can't read "tmp": no such variable
<mynick> !debug
<botnick> [21:11] Tcl error [addme_debug]: can't read "tmp": no such variable

[/code]
Back to top
View user's profile Send private message
speechles
Revered One


Joined: 26 Aug 2006
Posts: 1398
Location: emerald triangle, california (coastal redwoods)

PostPosted: Thu Aug 28, 2008 8:05 pm    Post subject: Reply with quote

Zerg wrote:
now the link works.
i have the same problem after playing an testing your fixed addscript.

after restart i cant add anymore.

Partyline error:
[17:32] Tcl error [addme_addname]: can't read "tmp": no such variable

i have test to delete all add temp datas on the script dir and restart the bot, but this dont work.

thank you very much for help

Code:

<mynick> !add
<botnick> [21:11] Tcl error [addme_addname]: can't read "tmp": no such variable
<mynick> !debug
<botnick> [21:11] Tcl error [addme_debug]: can't read "tmp": no such variable

[/code]

Try doing as the config says.
Code:
# Then, restart your bot with the script loaded, ERASE TOPIC and
# type !removeall so it starts working with a valid topic.
# Please read the above sentence twice. I'll kill you if you
# query me asking what's wrong and you didnt clear topic first.

Clear/erase your topic in the channel and type !removeall afterwards. This is how you initialize the channel.
_________________
speechles' eggdrop tcl archive
Back to top
View user's profile Send private message
Zerg
Halfop


Joined: 20 May 2006
Posts: 49

PostPosted: Fri Aug 29, 2008 11:40 am    Post subject: Reply with quote

thank you very much.
sorry my english is very poor.

--

1. gives a topic save function to restore the old topic?

I would Server : in topic replace with Game: but it wouldnt work.
i have replaced all Server : to Game: and after it to Game :

Game: dont work than i have the tmp problem
Game : work but say by !add list is full.

i have replaced all "Server :" to "Game :"
can you say me why if it dont work?

(Change Server to Game because on Diablo2 Lod gives only 1 Server -> Battle.net)

--

2. For Rush i need 1 Nick can add more than once. 2 or 3 differences chars from one User are no rareness.

--

3. Script have problems with nicks that have signs in it...
{[]}-|_\^` (~xxx@xxx.dip.t-dialin.net) has joined #tester
<Mynick> !add {[]}-|_\^`
-Bot- Hmmmm Mynick... I see no []-|_\^` here :/ (mIxeD CasE ?)

Thank you very much vor help.
Back to top
View user's profile Send private message
eXtremer
Op


Joined: 07 May 2008
Posts: 138

PostPosted: Sat Aug 30, 2008 12:00 pm    Post subject: Reply with quote

Zerg wrote:
thank you very much.
sorry my english is very poor.

--

1. gives a topic save function to restore the old topic?

I would Server : in topic replace with Game: but it wouldnt work.
i have replaced all Server : to Game: and after it to Game :

Game: dont work than i have the tmp problem
Game : work but say by !add list is full.

i have replaced all "Server :" to "Game :"
can you say me why if it dont work?

(Change Server to Game because on Diablo2 Lod gives only 1 Server -> Battle.net)

--

2. For Rush i need 1 Nick can add more than once. 2 or 3 differences chars from one User are no rareness.

--

3. Script have problems with nicks that have signs in it...
{[]}-|_\^` (~xxx@xxx.dip.t-dialin.net) has joined #tester
<Mynick> !add {[]}-|_\^`
-Bot- Hmmmm Mynick... I see no []-|_\^` here :/ (mIxeD CasE ?)

Thank you very much vor help.


I know that Bots cannot add nicknames that starts with "{", I think this is the problem.
Back to top
View user's profile Send private message
AmakhiS
Voice


Joined: 10 Oct 2008
Posts: 2
Location: FRANCE

PostPosted: Fri Oct 10, 2008 9:29 am    Post subject: Reply with quote

lostmyaim wrote:
Now its official, Addme+Fixes.tcl by Speechless is operational and ready for those who want to organize games through IRC.

Thanks to Speechless for his patience. He did a really great job on this.

Thanks again Smile


Hi there,
I followed all the steps that was discussed in this post, because i had troubles with the original addme script. Then I tryed the modified vertion hosted by Speechless.

But I still can't make it run properlly:
I have no errors loading the script, but i don't have any answer from it.

here are few questions that could help me:
*how to .chan+ my irc channel? (i need the irc command)
*what is the irc command to reset the topic, because /TOPIC #mychan "blabla" will set "blabla" has topic, but /TOPIC #mychan <-- this do not erase the topic :'( and i did not find the answer over google oO
*When i start my eggdrop, my bot is not AUTH on my chan, is that a problem?
*-->Lostmy Aim: which exact commands do you type to get an answer from the addme script? (/msg nameofmybot !removeall #mychan)?
Back to top
View user's profile Send private message
speechles
Revered One


Joined: 26 Aug 2006
Posts: 1398
Location: emerald triangle, california (coastal redwoods)

PostPosted: Fri Oct 10, 2008 9:24 pm    Post subject: Reply with quote

AmakhiS wrote:
lostmyaim wrote:
Now its official, Addme+Fixes.tcl by Speechless is operational and ready for those who want to organize games through IRC.

Thanks to Speechless for his patience. He did a really great job on this.

Thanks again Smile


Hi there,
I followed all the steps that was discussed in this post, because i had troubles with the original addme script. Then I tryed the modified vertion hosted by Speechless.

But I still can't make it run properlly:
I have no errors loading the script, but i don't have any answer from it.

here are few questions that could help me:
*how to .chan+ my irc channel? (i need the irc command)
You must do this via partyline dcc chat commands. Log into your bot (/dcc chat bot) type your password at the prompt. Once successfully on the partyline (dcc chat begins), simply type .chanset #yourchan +addme

AmakhiS wrote:
*what is the irc command to reset the topic, because /TOPIC #mychan "blabla" will set "blabla" has topic, but /TOPIC #mychan <-- this do not erase the topic :'( and i did not find the answer over google oO
That is because most don't really know how, but it is quite easy.
Code:
/raw topic #yourchan :
Type that in your text box (make sure to include the space and colon at the end or it will not work) and watch the topic of #yourchan become empty, which is what a cleared topic means.

AmakhiS wrote:
*When i start my eggdrop, my bot is not AUTH on my chan, is that a problem?
The script does not communicate with any ircd services including nickserv, chanserv, etc. So this makes no difference what-so-ever really.

AmakhiS wrote:
*-->Lostmy Aim: which exact commands do you type to get an answer from the addme script? (/msg nameofmybot !removeall #mychan)?
Type !help in #yourchan where you have enabled it (.chanset #yourchan +addme) and all the commands are shown.
_________________
speechles' eggdrop tcl archive
Back to top
View user's profile Send private message
AmakhiS
Voice


Joined: 10 Oct 2008
Posts: 2
Location: FRANCE

PostPosted: Sun Oct 12, 2008 4:46 pm    Post subject: Reply with quote

Thx a lot, I'll need some times to run the AddMe modified script i guess cause I had some replies from my bot on the !help command. but now, it seems lost and do not answer me anymore for !help new command or other ones. I'll post back when everything will be clear for me. thx again, catch ya later.

Edit, it seems i got lots of function troubles:

[22:57] Tcl error [addme_addname]: couldn't compile regular expression pattern: quantifier operand invalid
[22:58] Last message repeated 1 time(s).
[22:58] Tcl error [addme_serverlist_add]: invalid command name "^"
[23:03] Tcl error [addme_server]: couldn't compile regular expression pattern: quantifier operand invalid
[23:03] Tcl error [addme_updatemotd]: couldn't compile regular expression pattern: quantifier operand invalid
[[23:06] Tcl error [addme_removename]: couldn't compile regular expression pattern: quantifier operand invalid
[23:09] Tcl error [addme_promote]: couldn't compile regular expression pattern: quantifier operand invalid

EDIT2:
those errors occured even with my simple irc nick : amakhis
I gave a look at the proc addme_getvars, I found this strange but it was not the purpose of the errors:
Code:
regexp "^Next : (.*) \[ \|\] Server" $tt tmp addme_list($chan)

I tried to change it to:
Code:
regexp "Next : (.*) \[ \|\] Server" $tt tmp addme_list($chan)

nothing changed
then, I also tried to declare the var tt in global xD without any results.
Back to top
View user's profile Send private message
madrixis
Voice


Joined: 25 Jul 2009
Posts: 1

PostPosted: Sat Jul 25, 2009 6:59 am    Post subject: Reply with quote

hi speechles,

i want to use this script on 3 different channels - which isnt the problem - but on two channels i need the script to create teams.
chan1:
eg. chanplayers=10
5ppl red / 5ppl blue
if a player adds bot should check if hes op, if so hes in team red, if hes not op, hes in team blue.

chan2:
eg. chanplayers=10
if a player adds as number10 bot should create teams using a randomizer, split the 10 ppl in 2 teams (red/blue) and PM each player serverip + teamcolour.

can you or anyone else help me with this? i already spent hours with trying to modify the script without luck.
Back to top
View user's profile Send private message
viodream
Voice


Joined: 19 Oct 2008
Posts: 1

PostPosted: Mon Aug 10, 2009 10:45 pm    Post subject: Reply with quote

Hi!
I have same problem. I erase topic... but on put !removeall:

[06:53] Tcl error [addme_removeall_pub]: can't read "tmp": no such variable

Wath is wrong?
Back to top
View user's profile Send private message
speechles
Revered One


Joined: 26 Aug 2006
Posts: 1398
Location: emerald triangle, california (coastal redwoods)

PostPosted: Mon Aug 10, 2009 11:13 pm    Post subject: Reply with quote

viodream wrote:
Hi!
I have same problem. I erase topic... but on put !removeall:

[06:53] Tcl error [addme_removeall_pub]: can't read "tmp": no such variable

Wath is wrong?

The guy originally coded this script didn't know what he was doing and left gaping bugs floating all over the place. But.. That error with tmp should now be fixed. Try this one: Here and you should at least be able to get the script working (except that nicknames with pipes in them | will break this script). To fix more than this is painful this script is so horrible. This will be my last modifcation to this bad example of a pickup script. Some other brave fool will need to correct the next problem it has.. ;D
_________________
speechles' eggdrop tcl archive
Back to top
View user's profile Send private message
Trasan
Voice


Joined: 24 Aug 2010
Posts: 1

PostPosted: Tue Aug 24, 2010 4:27 pm    Post subject: Reply with quote

lets see if you guys can help me..
im new to all this, but i got this script up and running without any problems that i can see right now..

but i would like to add stuff and my mind is Blank
been checking around to see how i could do it.
-------
i would like to add a
!top10
just like the game count that exist already but for all the players adding.
and when people type !top10 it should print out the top10 players adding in the pickup. in say not msg or notice.
-------
and i like to have a !lastgame
working as a copy of the prev fullgame

so when typeing !lastgame
it should print out in .say the Players and how long ago it was played

i understand if none wanna help me with this
but thanks in advance =)
Back to top
View user's profile Send private message
sector
Voice


Joined: 11 May 2011
Posts: 3

PostPosted: Wed May 11, 2011 12:04 pm    Post subject: Reply with quote

is it possible to restrict !add command only to ops?
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 -> Script Support & Releases All times are GMT - 4 Hours
Goto page Previous  1, 2
Page 2 of 2

 
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