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

by LexXx
Mon Aug 02, 2004 8:45 am
Forum: Archive
Topic: Regexp Problems...
Replies: 2
Views: 1726

uhm have to read it again later cos i dont understand whats nex to that oO
by LexXx
Sat Jul 31, 2004 7:11 pm
Forum: Archive
Topic: Regexp Problems...
Replies: 2
Views: 1726

Regexp Problems...

regexp -nocase {.*\[hot: \.((\d)+)/((\d)+)/((\d)+).*} $topic a cipx(hotserver) b cipx(hotlwe) c cipx(hotact); regexp -nocase {.*\[cold: \.((\d)+)/((\d)+)/((\d)+) \.((\d)+)/((\d)+)/((\d)+).*} $topic a cipx(cold1server) b cipx(cold1lwe) c cipx(cold1act) d cipx(cold2server) e cipx(cold2lwe) f cipx(col...
by LexXx
Wed Jun 16, 2004 4:40 pm
Forum: Archive
Topic: Values in the Topic -> $var1,2 etc
Replies: 7
Views: 3429

could you do sth like that -> \.((\d)+)/((\d)+)/((\d)+). :

[Hot: 1time HERE ] [Private WE's: IGNORE THIS PART COMPLETELY ] [Cold: 2times HERE ] [.... (ignore whhat follows the cold box imediatly)
=> 9 vars (3* .xx/zzz/yyy)
set them to anything i can change it ;)

thx
by LexXx
Wed Jun 16, 2004 1:56 pm
Forum: Archive
Topic: Values in the Topic -> $var1,2 etc
Replies: 7
Views: 3429

works but there are more .xx/xxx/xxx and there can be some under hot.... how do i handle that
by LexXx
Wed Jun 16, 2004 12:14 pm
Forum: Archive
Topic: Values in the Topic -> $var1,2 etc
Replies: 7
Views: 3429

well server11.xlhost is down so are my bot and my bouncer :) but im at irc (gc|day[eCh] or sth like that) u can tell me there ;-)
by LexXx
Wed Jun 16, 2004 11:17 am
Forum: Archive
Topic: Values in the Topic -> $var1,2 etc
Replies: 7
Views: 3429

bind pubm n "#dclone.eu !calcx *" pub:calcx proc pub:calcx {nick uhost hand chan text} { set text [split $text] set topic [topic #dclone.eu]; regexp -nocase {.*\[cold: \.((\d)+)/((\d)+)/((\d)+).*} $topic a cipx(server) b cipx(lwe) c cipx(act)" set cipx(min) [expr $cipx(lwe) + 75]; se...
by LexXx
Wed Jun 16, 2004 10:28 am
Forum: Archive
Topic: Values in the Topic -> $var1,2 etc
Replies: 7
Views: 3429

i gonna try! can i reach u at irc or sth (not for buggin g you :) )
by LexXx
Tue Jun 15, 2004 3:59 pm
Forum: Archive
Topic: Values in the Topic -> $var1,2 etc
Replies: 7
Views: 3429

Values in the Topic -> $var1,2 etc

Well i got a topic like this one: [Hot: N/A] [Cold: .51/823/856 .45/930/952 ] [Walked: .34 .233 .225 ] and i got a script with the command: !calcip 51 -> i want the script to get the 2 numbers behind the .51 separated with / and to use them (e.g. $var1=51 $var2=823 and $var3=856) -> the number of .x...
by LexXx
Tue Jun 15, 2004 12:39 pm
Forum: Archive
Topic: calcip mirc thing
Replies: 8
Views: 3196

awyeah helped me to do the calc things, we need to check how to split the topic into variables now
by LexXx
Tue Jun 15, 2004 11:03 am
Forum: Archive
Topic: calcip mirc thing
Replies: 8
Views: 3196

bind pub - "!calcip" procname set $cip.s4 . $+ $1 set $cip.temp $cip.s4 $+ / set $act.topic $chan( #dclone.eu ).topic if ($cip.temp isin $act.topic) { set $cip.lwe.pos $calc($pos($act.topic,$cip.s4,1)+$len($cip.s4)+1) set $cip.temp $mid(sact.topic,$cip.lwe.pos,20) set $cip.act.pos $calc($...
by LexXx
Tue Jun 15, 2004 7:58 am
Forum: Archive
Topic: calcip mirc thing
Replies: 8
Views: 3196

if you could join #dclone.eu on quakenet [qry gc|day[eCH] ]i can show you what the script is for! its difficult to explain if you dont understand what is the use of the script :)
by LexXx
Mon Jun 14, 2004 5:02 pm
Forum: Archive
Topic: calcip mirc thing
Replies: 8
Views: 3196

well you do !calcip and it gets some numbers from the topic and adds 75 to them and calcs a whole thing and gives an output! :/
by LexXx
Mon Jun 14, 2004 11:35 am
Forum: Archive
Topic: calcip mirc thing
Replies: 8
Views: 3196

calcip mirc thing

I have no idea of tcl but i need to run a script i have in my remote on my eggdrop: on 1:TEXT:!Calcip &:#dclone.eu:{ set %cip.s4 . $+ $1 set %cip.temp %cip.s4 $+ / set %act.topic $chan( #dc.eu ).topic if (%cip.temp isin %act.topic) { set %cip.lwe.pos $calc($pos(%act.topic,%cip.s4,1)+$len(%cip.s4...