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.
Old posts that have not been replied to for several years.
Mr-wyx
Voice
Posts: 6 Joined: Sat Aug 06, 2005 10:49 am
Location: Latvia, Riga
Contact:
Post
by Mr-wyx » Sat Aug 06, 2005 10:53 am
Can someone please help with script that gives +q mode to users ($nick) ,that added to somekind of list, when they join $chan.
10x!
demond
Revered One
Posts: 3073 Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:
Post
by demond » Sat Aug 06, 2005 11:38 am
Code: Select all
bind join - * foo
proc foo {n u h c} {
pushmode $c +q $n
lappend ::alist $n
}
Mr-wyx
Voice
Posts: 6 Joined: Sat Aug 06, 2005 10:49 am
Location: Latvia, Riga
Contact:
Post
by Mr-wyx » Sat Aug 06, 2005 11:47 am
Hm... How to use it? I don't realy understand. It will give +q mode to all who joins channel?
demond
Revered One
Posts: 3073 Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:
Post
by demond » Sat Aug 06, 2005 11:56 am
yeah, isn't that what you wanted?
Mr-wyx
Voice
Posts: 6 Joined: Sat Aug 06, 2005 10:49 am
Location: Latvia, Riga
Contact:
Post
by Mr-wyx » Sat Aug 06, 2005 12:10 pm
Noup. I need bot to give +q mode only for users that I have added to bot (list or whatever).
Can u help me please?
demond
Revered One
Posts: 3073 Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:
Post
by demond » Sat Aug 06, 2005 12:14 pm
Code: Select all
bind join - * foo
proc foo {n u h c} {
if [validuser $h] {
pushmode $c +q $n
}
}
Mr-wyx
Voice
Posts: 6 Joined: Sat Aug 06, 2005 10:49 am
Location: Latvia, Riga
Contact:
Post
by Mr-wyx » Sat Aug 06, 2005 12:15 pm
And how to use it?
demond
Revered One
Posts: 3073 Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:
Post
by demond » Sat Aug 06, 2005 12:29 pm
Mr-wyx wrote: And how to use it?
as any other script?
Mr-wyx
Voice
Posts: 6 Joined: Sat Aug 06, 2005 10:49 am
Location: Latvia, Riga
Contact:
Post
by Mr-wyx » Sat Aug 06, 2005 12:36 pm
What I need to enter to add user?
demond
Revered One
Posts: 3073 Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:
Post
by demond » Sat Aug 06, 2005 1:41 pm
simply put this in a file and source it in your config, what's the problem, you don't know how to load a script?
Mr-wyx
Voice
Posts: 6 Joined: Sat Aug 06, 2005 10:49 am
Location: Latvia, Riga
Contact:
Post
by Mr-wyx » Sat Aug 06, 2005 1:51 pm
How to load script I know but I don't understand how this script works...
demond
Revered One
Posts: 3073 Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:
Post
by demond » Sat Aug 06, 2005 1:55 pm
it works exactly according your requirements
Ian-Highlander
Op
Posts: 165 Joined: Mon Sep 24, 2001 8:00 pm
Location: Ely, Cambridgeshire
Post
by Ian-Highlander » Sat Aug 06, 2005 4:28 pm
Is this on an IRCX server? I'm a bit out of date having only just come back to the world of Eggdrops after a 4 year break but +q in a chan was always the flag that signifies a channel owner in an IRCX room. IRCX was pretty much unique to Microsoft Exchange based chat servers.
If this is the case then you really need to patch the bot to gain IRCX compatibility (one of my old projects which I may pick back up again one day) the last release of the IRCX patch and Xtools script is for Eggdrop 1.5.4 though so its quite an old version of bot but does give you full IRCX compatibilty. You can get the patches from my website but they have to be used with the version of bot that they are made for and you will have to install and recompile the correct version of bot for the version of IRCX patch you are using (Instructions are on the site)
If this is not the case then ignore the ramblings of a silly old man
"Insanity Takes Its Toll, Please Have Exact Change"
demond
Revered One
Posts: 3073 Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:
Post
by demond » Sat Aug 06, 2005 5:07 pm
I'd bet that +q is on either Unreal or QuakeNet's asuka or whatever its name was
Ian-Highlander
Op
Posts: 165 Joined: Mon Sep 24, 2001 8:00 pm
Location: Ely, Cambridgeshire
Post
by Ian-Highlander » Sat Aug 06, 2005 6:17 pm
Ian-Highlander wrote: I'm a bit out of date having only just come back to the world of Eggdrops after a 4 year break
Ian-Highlander wrote: If this is not the case then ignore the ramblings of a silly old man
"Insanity Takes Its Toll, Please Have Exact Change"