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 60 matches

by Riddler
Thu Jun 07, 2007 4:44 pm
Forum: Scripting Help
Topic: [SOLVED] A little UserMRG.tcl script...
Replies: 18
Views: 13044

I`ve neglected something to ask you and everyone else... I`ve gone forth with a nother set of commands, and at the .delhost command I get a little error Code: proc s:delhost {nick uhost hand chan text} { global botnick dj if {[channel get $chan djtools] && ![isbotnick $nick]} { set dhuser [l...
by Riddler
Thu Jun 07, 2007 2:36 pm
Forum: Scripting Help
Topic: [SOLVED] A little UserMRG.tcl script...
Replies: 18
Views: 13044

Huh, nml375 your one in a million :D the syntax code was

Code: Select all

set allu [lindex [userlist -|MASDTOV $chan]]
Thank you :D... cheers again mate 8)
by Riddler
Wed Jun 06, 2007 6:24 pm
Forum: Scripting Help
Topic: [SOLVED] A little UserMRG.tcl script...
Replies: 18
Views: 13044

That`s it nml375 :D it works, at last it works... :D cheers mate Now all I need to add is a .userlist command to show the users on the bot ... I`ve try to code something.... proc s:userlist {nick uhost hand chan text} { global botnick dj if {[channel get $chan djtools] && ![isbotnick $nick]}...
by Riddler
Wed Jun 06, 2007 2:37 pm
Forum: Scripting Help
Topic: [SOLVED] A little UserMRG.tcl script...
Replies: 18
Views: 13044

ok, so, this is the code .. # Set here levels for accesses set dj(l1) "Voice Access" set dj(l2) "OP Access" set dj(l3) "Test DJ Access" set dj(l4) "DJ Access" set dj(l5) "Senior DJ Access" set dj(l6) "Administrator Access" set dj(l7) "...
by Riddler
Wed Jun 06, 2007 2:03 pm
Forum: Scripting Help
Topic: [SOLVED] A little UserMRG.tcl script...
Replies: 18
Views: 13044

(...) Also, I really don't see why you modify the flags for a single handle multiple times. Especially in the cases where you first remove a flag just to add it right back again... Ok, thanks for the hint, I`ll include them and see if it works :D :wink: A hint while we're at it, when you build larg...
by Riddler
Wed Jun 06, 2007 1:28 pm
Forum: Scripting Help
Topic: [SOLVED] A little UserMRG.tcl script...
Replies: 18
Views: 13044

I'd suggest something like this: chattr $hand "+olT-VODSAM" It will remove all but the desired flags of your userdefined ones, along with making sure ol is set aswell. As for your problems with t3st, you do not trim any "extra" spaces or such, which could cause problems. That is...
by Riddler
Tue Jun 05, 2007 9:06 pm
Forum: Scripting Help
Topic: [SOLVED] A little UserMRG.tcl script...
Replies: 18
Views: 13044

ok, so Sir_Fz, the .adduser comannd is working very good, the .deluser and .chuser give's a little error, something like this <me> .deluser -|EGG- SYNTAX: .deluser <user> <me> .deluser t3ste -|Egg- User t3ste has been deleted. .... <me> .whois t3ste <|EGG> [02:42] #me# whois t3ste <|EGG> Can't find ...
by Riddler
Tue Jun 05, 2007 7:17 pm
Forum: Scripting Help
Topic: [SOLVED] A little UserMRG.tcl script...
Replies: 18
Views: 13044

[SOLVED] A little UserMRG.tcl script...

Hello all, I need some help with a little script I`m trying to make.... it's a UserMRG type a script, and I can`t get it to work. :( # Set here levels for accesses set dj(l1) "Voice Access" set dj(l2) "OP Access" set dj(l3) "Test DJ Access" set dj(l4) "DJ Access&qu...
by Riddler
Tue May 29, 2007 9:10 am
Forum: Scripting Help
Topic: a anti-flood script !
Replies: 9
Views: 5445

Am I missing something, or doesn't all these functions already exist in sentinel.tcl? Indeed they exist in sentinel.tcl, but I have some other scripts that handle the banning of excessive CTCP actions, or notices or other types ....and I wanted to add a help-script to help the other script handle t...
by Riddler
Sat May 26, 2007 10:23 pm
Forum: Scripting Help
Topic: a anti-flood script !
Replies: 9
Views: 5445

a anti-flood script !

Hello all, I need some help with a little script, that puts a chan mode, like +m wen there is a mass use of ctcp and notices. Here is the code: # flood.tcl # Channel set flood(chan) "#Finlanda" # Numbers of flood's in X second's set flood(nr) 5:2 # Channel Lock Modes set flood(clm) "m...
by Riddler
Thu May 24, 2007 6:43 pm
Forum: Script Requests
Topic: /msg nick join and part
Replies: 20
Views: 10526

Tcl has some issues with a few characters, such as "-", within variable names. In these cases you need to enclose the variable name with {}, ie. ${default-flags}. Thank you nml375 :D , the script works great now...just didn`t need no more for the $default-flags, because the eggdrop.conf h...
by Riddler
Tue May 22, 2007 8:31 am
Forum: Script Requests
Topic: /msg nick join and part
Replies: 20
Views: 10526

I looked everywhere for this " killuser " command, and didn't find squat. Where'd you get this at? deluser <handle> Description: attempts to erase the user record for a handle Returns: 1 if successful, 0 if no such user exists Module: core oki...thanks for the advice... New modification t...
by Riddler
Mon May 21, 2007 5:22 pm
Forum: Script Requests
Topic: /msg nick join and part
Replies: 20
Views: 10526

Try: bind msg n {join} msg:join bind msg n {part} msg:part proc msg:join {nick uhost hand text} { global botnick lastbind if {$text == "" || [string index $text 0] != "#"} { putserv "NOTICE $nick :Usage: /msg $botnick $lastbind #channel." } elseif {[llength [channels]]...
by Riddler
Mon May 21, 2007 6:09 am
Forum: Script Requests
Topic: Part / Quit Msg Ban
Replies: 8
Views: 4733

Try to use this script set qpadv(chan) "#channel" # Set here your kick message set qpadv(km) "Please change your QUIT/PART message!" # Set here the ban time set qpadv(bt) "1440" # Set here the bad quit's for witch the user will be banned. set qpadv(w) { "*www*"...
by Riddler
Sun May 20, 2007 10:51 pm
Forum: Scripting Help
Topic: Encrypt
Replies: 29
Views: 21624

rosc2112 wrote:Or be lazy and keep 1 unencrypted copy for editting, then run it through the encryption to make a new copy.
Don`t matter at long as the script works very good :D:D thank you user for the method 8) you have a beer from me :lol: :lol: