This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

addme by Ozh

Support & discussion of released scripts, and announcements of new releases.
Z
Zerg
Halfop
Posts: 49
Joined: Sat May 20, 2006 10:03 am

Post by Zerg »

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 :)
hello,
can you send the fix script to the tcl archive on egghelp.org?
because this was erase...

thank you very much.
Z
Zerg
Halfop
Posts: 49
Joined: Sat May 20, 2006 10:03 am

Post by Zerg »

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: Select all

<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]
User avatar
speechles
Revered One
Posts: 1398
Joined: Sat Aug 26, 2006 10:19 pm
Location: emerald triangle, california (coastal redwoods)

Post by speechles »

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: Select all

<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: Select all

# 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.
Z
Zerg
Halfop
Posts: 49
Joined: Sat May 20, 2006 10:03 am

Post by Zerg »

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.
e
eXtremer
Op
Posts: 138
Joined: Wed May 07, 2008 5:33 am

Post by eXtremer »

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.
A
AmakhiS
Voice
Posts: 2
Joined: Fri Oct 10, 2008 9:19 am
Location: FRANCE

Post by AmakhiS »

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 :)
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)?
User avatar
speechles
Revered One
Posts: 1398
Joined: Sat Aug 26, 2006 10:19 pm
Location: emerald triangle, california (coastal redwoods)

Post by speechles »

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 :)
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: Select all

/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.
A
AmakhiS
Voice
Posts: 2
Joined: Fri Oct 10, 2008 9:19 am
Location: FRANCE

Post by AmakhiS »

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: Select all

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

Code: Select all

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.
m
madrixis
Voice
Posts: 1
Joined: Sat Jul 25, 2009 6:50 am

Post by madrixis »

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.
v
viodream
Voice
Posts: 1
Joined: Sun Oct 19, 2008 9:01 pm

Post by viodream »

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?
User avatar
speechles
Revered One
Posts: 1398
Joined: Sat Aug 26, 2006 10:19 pm
Location: emerald triangle, california (coastal redwoods)

Post by speechles »

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
T
Trasan
Voice
Posts: 1
Joined: Tue Aug 24, 2010 4:19 pm

Post by Trasan »

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 =)
s
sector
Voice
Posts: 3
Joined: Wed May 11, 2011 12:00 pm

Post by sector »

is it possible to restrict !add command only to ops?
Post Reply