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

by LoKii
Thu Oct 05, 2017 7:24 am
Forum: Script Support & Releases
Topic: AllProtection.tcl (Stable: v4.8 / Beta: v4.9b4)
Replies: 1351
Views: 1126408

Problem with timers

Hello everyone, I'm having a small snag here with the allprotection.tcl. When the bot performs a channel lock for whatever reason, it does not unlock them after the attack. In DCC it spits out: <b0x> [13:20:25] Tcl error in script for 'timer31478': <b0x> [13:20:25] couldn't compile regular expressio...
by LoKii
Fri Apr 19, 2013 4:14 am
Forum: Script Requests
Topic: Return User's Level
Replies: 14
Views: 9517

I made something similar for my bot some time ago. While it does work as intented, im sure that there may be a more sufficient way of doing this, however it does get the job done. The bot takes the user levels based on flags. This one is if a user asks about himself (!whoami): bind pub - !whoami pro...
by LoKii
Tue Mar 19, 2013 4:26 pm
Forum: Script Requests
Topic: syntax checking of user input on a public trigger
Replies: 16
Views: 13110

Thanks for your insight on this. In this case, i will leave this thread as unsolved for the time being (although in current, it works as expected), and I will try to implement you recommendations. I will leave this part of the entire script to the last, since it seems that this regex will be very ti...
by LoKii
Tue Mar 19, 2013 2:03 pm
Forum: Script Requests
Topic: syntax checking of user input on a public trigger
Replies: 16
Views: 13110

One hint when working with regular expressions, if you use curly brackets instead of quotes, you don't have to bother with escaping the string from the tcl parser.. As for your pattern, I find it somewhat overworked. If you merely would like to match either a, b, or cd, this would suffice: set m {^...
by LoKii
Tue Mar 19, 2013 8:39 am
Forum: Script Requests
Topic: syntax checking of user input on a public trigger
Replies: 16
Views: 13110

Small update. Managed to get rid of the problem when repeating some of the chars, such as ccdd ccd cdd and so on. "^\[ab\]?$\|^\[cd\]{2}$" However now, i still have 1 last headache left. I am still able to use cc or dd . Any suggestions? //edit Ok, i found a full working solution. "^\...
by LoKii
Tue Mar 19, 2013 4:55 am
Forum: Script Requests
Topic: syntax checking of user input on a public trigger
Replies: 16
Views: 13110

First off, $1 $2 $3 $modes should be... 1 2 3 modes without all the $'s Thank you for pointing that out. Thanks to that, the error messages changed in to something that made more sense to me, and i finally figured out how to go about the regex issues i had. So, now i managed to get the regex to act...
by LoKii
Mon Mar 18, 2013 2:15 am
Forum: Script Requests
Topic: syntax checking of user input on a public trigger
Replies: 16
Views: 13110

Hello everyone again, Hey, no need for arguing about why this method, and not that. All point of views are of interest, since non of your suggestions here have been known to me in the first place. Its nice to see all the possibilities even if some are obsolete or over complicated. Ok, back on track....
by LoKii
Sun Mar 17, 2013 4:06 am
Forum: Script Requests
Topic: syntax checking of user input on a public trigger
Replies: 16
Views: 13110

Well caesar, simply put I didn't even know of it's existence (the scan). Your solution has so far partially helped me a great deal. Whilst i also did like the solution prestented by Get_A_Fix , by using directly isnumber instead of isnum only for the fact that i could customize the response based on...
by LoKii
Sat Mar 16, 2013 2:50 am
Forum: Script Requests
Topic: syntax checking of user input on a public trigger
Replies: 16
Views: 13110

Thank you all for your imput, sorry for my delay in responding. I will sit down today and tackle this with what all of you have proposed here, and I will let you know how it turns out :)
by LoKii
Wed Mar 13, 2013 7:11 am
Forum: Script Requests
Topic: syntax checking of user input on a public trigger
Replies: 16
Views: 13110

syntax checking of user input on a public trigger

Hi everyone. Got something new here that is doing my head in. I made a small script, where as the trigger is based on a few specific types of letters/numbers. an example would be: .test 5 10 5 n:sp So far i got it to work all smoothly the way i want, but now what IF a user types in for example: .tes...
by LoKii
Tue Mar 12, 2013 2:07 am
Forum: Script Requests
Topic: Adding exceptions to AbuseReport by BlackShadow
Replies: 2
Views: 3089

Sweet, this is EXACTLY what I was looking for. I should have though of a setudef solution too, but my mind was lost in if this chan then that chan and search chanlists bla bla bla. Thank you very much Madalin :) Be sure that your name (and others here who have helped me) will be given proper credits...
by LoKii
Mon Mar 11, 2013 3:26 pm
Forum: Script Requests
Topic: Adding exceptions to AbuseReport by BlackShadow
Replies: 2
Views: 3089

Adding exceptions to AbuseReport by BlackShadow

Hello everyone, Need a little help in editing this script made by BlackShadow . ######################################################################## # AbuseReport 1.0 # #This TCL shows the channel where the bot has problems #!report abused ( shows the channels where the bot is not on chan ) #!re...
by LoKii
Sun Mar 10, 2013 12:58 pm
Forum: Scripting Help
Topic: need help with lists
Replies: 14
Views: 9532

Update: Final code and works like a charm. Now i got some reading to do to understand the difference. proc proc_msgm {nick host handle text} { global memo set items [split $text] set temp [list "verify" "ident" "addhost" "pass" "info" "voice&quo...
by LoKii
Sun Mar 10, 2013 12:12 pm
Forum: Scripting Help
Topic: need help with lists
Replies: 14
Views: 9532

Sorry, made a minor mistake... :oops: Should've tested for greater or equal to zero, not less than zero... I'll update my previous post in a sec or two... Yup, now it works like a charm. I will try to understand the difference between yours and mine, to make sure that in the future, my code will be...
by LoKii
Sun Mar 10, 2013 12:03 pm
Forum: Scripting Help
Topic: need help with lists
Replies: 14
Views: 9532

Your solution didnt quite work for me. No matter what i write in a /msg bot , the result is ALWAYS: LoKii has just messaged me, using the verify command. I dont really understand why yet, but I'm sure I will figure it out once i understand what you meant with using the foreach-loop once. In the mean...