| View previous topic :: View next topic |
| Author |
Message |
Mr-wyx Voice

Joined: 06 Aug 2005 Posts: 6 Location: Latvia, Riga
|
Posted: Sat Aug 06, 2005 10:53 am Post subject: /mode $chan +q $nick |
|
|
Can someone please help with script that gives +q mode to users ($nick) ,that added to somekind of list, when they join $chan.
10x!  |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Sat Aug 06, 2005 11:38 am Post subject: |
|
|
| Code: |
bind join - * foo
proc foo {n u h c} {
pushmode $c +q $n
lappend ::alist $n
}
|
|
|
| Back to top |
|
 |
Mr-wyx Voice

Joined: 06 Aug 2005 Posts: 6 Location: Latvia, Riga
|
Posted: Sat Aug 06, 2005 11:47 am Post subject: |
|
|
Hm... How to use it? I don't realy understand. It will give +q mode to all who joins channel?  |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Sat Aug 06, 2005 11:56 am Post subject: |
|
|
| yeah, isn't that what you wanted? |
|
| Back to top |
|
 |
Mr-wyx Voice

Joined: 06 Aug 2005 Posts: 6 Location: Latvia, Riga
|
Posted: Sat Aug 06, 2005 12:10 pm Post subject: |
|
|
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? |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Sat Aug 06, 2005 12:14 pm Post subject: |
|
|
| Code: |
bind join - * foo
proc foo {n u h c} {
if [validuser $h] {
pushmode $c +q $n
}
}
|
|
|
| Back to top |
|
 |
Mr-wyx Voice

Joined: 06 Aug 2005 Posts: 6 Location: Latvia, Riga
|
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Sat Aug 06, 2005 12:29 pm Post subject: |
|
|
| Mr-wyx wrote: | And how to use it?  |
as any other script? |
|
| Back to top |
|
 |
Mr-wyx Voice

Joined: 06 Aug 2005 Posts: 6 Location: Latvia, Riga
|
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Sat Aug 06, 2005 1:41 pm Post subject: |
|
|
| 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? |
|
| Back to top |
|
 |
Mr-wyx Voice

Joined: 06 Aug 2005 Posts: 6 Location: Latvia, Riga
|
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Sat Aug 06, 2005 1:55 pm Post subject: |
|
|
| it works exactly according your requirements |
|
| Back to top |
|
 |
Ian-Highlander Op
Joined: 24 Sep 2001 Posts: 165 Location: Ely, Cambridgeshire
|
Posted: Sat Aug 06, 2005 4:28 pm Post subject: |
|
|
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" |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Sat Aug 06, 2005 5:07 pm Post subject: |
|
|
| I'd bet that +q is on either Unreal or QuakeNet's asuka or whatever its name was |
|
| Back to top |
|
 |
Ian-Highlander Op
Joined: 24 Sep 2001 Posts: 165 Location: Ely, Cambridgeshire
|
Posted: Sat Aug 06, 2005 6:17 pm Post subject: |
|
|
| 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" |
|
| Back to top |
|
 |
|