egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

/mode $chan +q $nick
Goto page 1, 2  Next
 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    egghelp.org community Forum Index -> Archive
View previous topic :: View next topic  
Author Message
Mr-wyx
Voice


Joined: 06 Aug 2005
Posts: 6
Location: Latvia, Riga

PostPosted: Sat Aug 06, 2005 10:53 am    Post subject: /mode $chan +q $nick Reply with quote

Can someone please help with script that gives +q mode to users ($nick) ,that added to somekind of list, when they join $chan.
10x! Rolling Eyes
Back to top
View user's profile Send private message Visit poster's website
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Sat Aug 06, 2005 11:38 am    Post subject: Reply with quote

Code:

bind join - * foo
proc foo {n u h c} {
   pushmode $c +q $n
   lappend ::alist $n
}
Back to top
View user's profile Send private message Visit poster's website
Mr-wyx
Voice


Joined: 06 Aug 2005
Posts: 6
Location: Latvia, Riga

PostPosted: Sat Aug 06, 2005 11:47 am    Post subject: Reply with quote

Hm... How to use it? I don't realy understand. It will give +q mode to all who joins channel? Question
Back to top
View user's profile Send private message Visit poster's website
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Sat Aug 06, 2005 11:56 am    Post subject: Reply with quote

yeah, isn't that what you wanted?
Back to top
View user's profile Send private message Visit poster's website
Mr-wyx
Voice


Joined: 06 Aug 2005
Posts: 6
Location: Latvia, Riga

PostPosted: Sat Aug 06, 2005 12:10 pm    Post subject: Reply with quote

Noup. I need bot to give +q mode only for users that I have added to bot (list or whatever). Crying or Very sad Can u help me please?
Back to top
View user's profile Send private message Visit poster's website
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Sat Aug 06, 2005 12:14 pm    Post subject: Reply with quote

Code:

bind join - * foo
proc foo {n u h c} {
   if [validuser $h] {
      pushmode $c +q $n
   }
}
Back to top
View user's profile Send private message Visit poster's website
Mr-wyx
Voice


Joined: 06 Aug 2005
Posts: 6
Location: Latvia, Riga

PostPosted: Sat Aug 06, 2005 12:15 pm    Post subject: Reply with quote

And how to use it? Rolling Eyes
_________________
http://www.ln.ua/~openxs/articles/smart-questions-ru.html
Back to top
View user's profile Send private message Visit poster's website
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Sat Aug 06, 2005 12:29 pm    Post subject: Reply with quote

Mr-wyx wrote:
And how to use it? Rolling Eyes

as any other script?
Back to top
View user's profile Send private message Visit poster's website
Mr-wyx
Voice


Joined: 06 Aug 2005
Posts: 6
Location: Latvia, Riga

PostPosted: Sat Aug 06, 2005 12:36 pm    Post subject: Reply with quote

What I need to enter to add user?
_________________
http://www.ln.ua/~openxs/articles/smart-questions-ru.html
Back to top
View user's profile Send private message Visit poster's website
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Sat Aug 06, 2005 1:41 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Mr-wyx
Voice


Joined: 06 Aug 2005
Posts: 6
Location: Latvia, Riga

PostPosted: Sat Aug 06, 2005 1:51 pm    Post subject: Reply with quote

How to load script I know but I don't understand how this script works... Embarassed
_________________
http://www.ln.ua/~openxs/articles/smart-questions-ru.html
Back to top
View user's profile Send private message Visit poster's website
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Sat Aug 06, 2005 1:55 pm    Post subject: Reply with quote

it works exactly according your requirements
Back to top
View user's profile Send private message Visit poster's website
Ian-Highlander
Op


Joined: 24 Sep 2001
Posts: 165
Location: Ely, Cambridgeshire

PostPosted: Sat Aug 06, 2005 4:28 pm    Post subject: Reply with quote

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 Very Happy
_________________
"Insanity Takes Its Toll, Please Have Exact Change"
Back to top
View user's profile Send private message Send e-mail
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Sat Aug 06, 2005 5:07 pm    Post subject: Reply with quote

I'd bet that +q is on either Unreal or QuakeNet's asuka or whatever its name was
Back to top
View user's profile Send private message Visit poster's website
Ian-Highlander
Op


Joined: 24 Sep 2001
Posts: 165
Location: Ely, Cambridgeshire

PostPosted: Sat Aug 06, 2005 6:17 pm    Post subject: Reply with quote

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 Very Happy


Wink Razz
_________________
"Insanity Takes Its Toll, Please Have Exact Change"
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    egghelp.org community Forum Index -> Archive All times are GMT - 4 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber