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.

Search found 10 matches

by Cavemanm85de
Thu Jul 08, 2004 3:57 pm
Forum: Archive
Topic: Problem binding to variable trigger with pubm
Replies: 28
Views: 9453

lol
by Cavemanm85de
Thu Jul 08, 2004 3:49 pm
Forum: Archive
Topic: Problem binding to variable trigger with pubm
Replies: 28
Views: 9453

There we go again... (Hint: check the bold words in my post) On my system it works like I described above, but you keep telling that it doesn't. If that is not arrogance, I do not know what else it is. Anyhow this is my last post in this thread as we are on different ends. You keep telling 'this doe...
by Cavemanm85de
Thu Jul 08, 2004 3:20 am
Forum: Archive
Topic: Problem binding to variable trigger with pubm
Replies: 28
Views: 9453

The person in question has either been rehashing their bot, or have changed their code from their original post and have not displayed those changes Thank you very much. Without knowing anything about me you just assume that. If I knew you I'd either be very pissed or amused about this accusation. ...
by Cavemanm85de
Tue Jul 06, 2004 5:54 pm
Forum: Archive
Topic: Problem binding to variable trigger with pubm
Replies: 28
Views: 9453

I think I did not make very clear *sigh* Without 'global' the bind gets executed if someone says 'shut up' with the 'global' it only gets executed with 'botnick shut up'. Now if $botnick was *blank* this would not happen. That is my problem. I see your reasoning but I also see the way eggdrop reacts...
by Cavemanm85de
Tue Jul 06, 2004 3:54 pm
Forum: Archive
Topic: Problem binding to variable trigger with pubm
Replies: 28
Views: 9453

Up front... in Germany we have a saying, that those who critizise the spelling of other have nothing else to contribute .) What you said could be true, I have no way of testing against it, as the bind is a pubm and therefor would only work in a channel. But anyhow I do not believe you as your reason...
by Cavemanm85de
Tue Jul 06, 2004 12:32 pm
Forum: Archive
Topic: Problem binding to variable trigger with pubm
Replies: 28
Views: 9453

imho is the discussion wether it get's set on connect or on startup mood. It works this way -- proc bot_shutup {nick host handle chan text} { global botnick putserv "PRIVMSG $chan :$nick: Nice Try! " } bind pubm - "% $botnick*shut*up*" bot_shutup -- but not if I leave 'global' ou...
by Cavemanm85de
Tue Jul 06, 2004 3:19 am
Forum: Archive
Topic: Problem binding to variable trigger with pubm
Replies: 28
Views: 9453

Strikelight, the $botnick is afaik a global variable which gets initializes when eggdrop parses it's conffile. The nick is set way before the scripts are loaded. I would have agreed with you, if the bind did not work at all. But it does. If you 'declare' $botnick as global inside the proc you bind. ...
by Cavemanm85de
Mon Jul 05, 2004 11:55 am
Forum: Archive
Topic: Problem binding to variable trigger with pubm
Replies: 28
Views: 9453

Same TCL, Eggdrop 1.6.12 (to lazy to update) :D
by Cavemanm85de
Mon Jul 05, 2004 11:33 am
Forum: Archive
Topic: Problem binding to variable trigger with pubm
Replies: 28
Views: 9453

ARG! Thanks a lot GB. It did not matter that you did not read the code correctely, your solution is still valid! -- proc bot_shutup {nick host handle chan text} { global botnick putserv "PRIVMSG $chan :$nick: Nice Try! ;-)" } bind pubm - "% $botnick*shut*up*" bot_shutup -- Now $b...
by Cavemanm85de
Mon Jul 05, 2004 8:47 am
Forum: Archive
Topic: Problem binding to variable trigger with pubm
Replies: 28
Views: 9453

Problem binding to variable trigger with pubm

Hi, i am trying myself on the following ... --- proc bot_shutup {nick host handle chan text} { putserv "PRIVMSG $chan :$nick: Nice Try! ;-)" } bind pubm - "#bottest $botnick*shut*up*" bot_shutup --- But somehow '$botnick' does not get evaluated. The manuals are not really that he...