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.

/mode $chan +q $nick

Old posts that have not been replied to for several years.
User avatar
Mr-wyx
Voice
Posts: 6
Joined: Sat Aug 06, 2005 10:49 am
Location: Latvia, Riga
Contact:

/mode $chan +q $nick

Post by Mr-wyx »

Can someone please help with script that gives +q mode to users ($nick) ,that added to somekind of list, when they join $chan.
10x! :roll:
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

Code: Select all

bind join - * foo
proc foo {n u h c} {
   pushmode $c +q $n
   lappend ::alist $n
}
User avatar
Mr-wyx
Voice
Posts: 6
Joined: Sat Aug 06, 2005 10:49 am
Location: Latvia, Riga
Contact:

Post by Mr-wyx »

Hm... How to use it? I don't realy understand. It will give +q mode to all who joins channel? :?:
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

yeah, isn't that what you wanted?
User avatar
Mr-wyx
Voice
Posts: 6
Joined: Sat Aug 06, 2005 10:49 am
Location: Latvia, Riga
Contact:

Post by Mr-wyx »

Noup. I need bot to give +q mode only for users that I have added to bot (list or whatever). :cry: Can u help me please?
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

Code: Select all

bind join - * foo
proc foo {n u h c} {
   if [validuser $h] {
      pushmode $c +q $n
   }
}
User avatar
Mr-wyx
Voice
Posts: 6
Joined: Sat Aug 06, 2005 10:49 am
Location: Latvia, Riga
Contact:

Post by Mr-wyx »

And how to use it? :roll:
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

Mr-wyx wrote:And how to use it? :roll:
as any other script?
User avatar
Mr-wyx
Voice
Posts: 6
Joined: Sat Aug 06, 2005 10:49 am
Location: Latvia, Riga
Contact:

Post by Mr-wyx »

What I need to enter to add user?
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

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?
User avatar
Mr-wyx
Voice
Posts: 6
Joined: Sat Aug 06, 2005 10:49 am
Location: Latvia, Riga
Contact:

Post by Mr-wyx »

How to load script I know but I don't understand how this script works... :oops:
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

it works exactly according your requirements
I
Ian-Highlander
Op
Posts: 165
Joined: Mon Sep 24, 2001 8:00 pm
Location: Ely, Cambridgeshire

Post by Ian-Highlander »

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 :D
"Insanity Takes Its Toll, Please Have Exact Change"
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

I'd bet that +q is on either Unreal or QuakeNet's asuka or whatever its name was
I
Ian-Highlander
Op
Posts: 165
Joined: Mon Sep 24, 2001 8:00 pm
Location: Ely, Cambridgeshire

Post by Ian-Highlander »

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 :D
:wink: :P
"Insanity Takes Its Toll, Please Have Exact Change"
Locked