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.
Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
sleepergr
Voice
Posts: 4 Joined: Mon Jul 31, 2006 12:26 pm
Post
by sleepergr » Thu Jan 18, 2007 5:46 pm
Hello,
I need a script to identify other nicknames (many) every some days (for example every 10 days)
I want it for DALnet (/msg nickserv is not working. only /msg
nickserv@services.dal.net )
I need that to keep alive nicks of friends that are far away for a long time etc..
Alchera
Revered One
Posts: 3344 Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:
Post
by Alchera » Thu Jan 18, 2007 8:45 pm
Nicks on DALnet do not expire for 31 days. There is no need to identify off-line nicks every 10 days. You only need write yourself a simple mIRC alias to identify manually.
Add [SOLVED] to the thread title if your issue has been.
Search |
FAQ |
RTM
sleepergr
Voice
Posts: 4 Joined: Mon Jul 31, 2006 12:26 pm
Post
by sleepergr » Fri Jan 19, 2007 3:07 pm
NO. i need it to put it on my eggdrop. i use mirc from many different pcs so that u said is impossible. If i was using irc only at my home yes i know to make an alias. i`m not an idiot
Sir_Fz
Revered One
Posts: 3794 Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:
Post
by Sir_Fz » Fri Jan 19, 2007 5:19 pm
If you don't know how to write an alias it doesn't mean you're an idiot. Try:
Code: Select all
set nicksNpasses {
nick1 pass1
nick2 pass2
nick3 pass3
}
set tenDays [clock scan "10 days"]
bind time - {00 00 *} identify:nicks
proc identify:nicks args {
global nicksNpasses tenDays
if {[unixtime] >= $tenDays} {
foreach {nick pass} $nicksNpasses {
puthelp "NickServ :identify $nick $pass"
}
set tenDays [clock scan "10 days"]
}
}
sleepergr
Voice
Posts: 4 Joined: Mon Jul 31, 2006 12:26 pm
Post
by sleepergr » Sun Jan 21, 2007 2:46 am
yes u right Sir_fz. sry for my previous post.
thx for the tcl Sir_Fz. i`ll try it today and if i have any problem i`ll post again
sleepergr
Voice
Posts: 4 Joined: Mon Jul 31, 2006 12:26 pm
Post
by sleepergr » Sun Jan 21, 2007 3:41 pm
sir_fz i loaded but i dont know if it`s working. what i must change so the script will do the identify every 1 day to see if is working. then i`ll do it again every ten days.
Sir_Fz
Revered One
Posts: 3794 Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:
Post
by Sir_Fz » Sun Jan 21, 2007 8:41 pm
instead of "10 days" try "1 day"
aqualife
Voice
Posts: 15 Joined: Tue Mar 20, 2007 8:17 pm
Post
by aqualife » Fri Feb 01, 2008 1:04 pm
I tried to use the above mentioned code with 1 day change, but its not working any correction will be appreciated.
Thanks.
Amr
Halfop
Posts: 94 Joined: Fri Sep 14, 2007 7:13 am
Location: Egypt
Post
by Amr » Fri Aug 22, 2008 7:19 pm
I tried this script , I have a big list to identify , when it identify the nicks , it just identify the first 14 nick , and it quit with "Killed (services.dal.net (Do not flood services))]"
Any ideas to fix it ?
Sir_Fz
Revered One
Posts: 3794 Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:
Post
by Sir_Fz » Sat Aug 23, 2008 2:06 pm
Amr wrote: I tried this script , I have a big list to identify , when it identify the nicks , it just identify the first 14 nick , and it quit with "Killed (services.dal.net (Do not flood services))]"
Any ideas to fix it ?
Try
Code: Select all
set nicksNpasses {
nick1 pass1
nick2 pass2
nick3 pass3
}
set tenDays [clock scan "10 days"]
bind time - {00 00 *} identify:nicks
proc identify:nicks args {
global nicksNpasses tenDays
if {[unixtime] >= $tenDays} {
identifyNicks $nicksNpasses
set tenDays [clock scan "10 days"]
}
}
proc identifyNicks np {
set items 0
foreach {nick pass} $np {
if {$items < 5} {
puthelp "NickServ :identify $nick $pass"
incr items
} {
utimer 15 [list identifyNicks [lrange $nicksNpasses [expr {$items*2}] end]]
break
}
}
}
This will identify 5 nicks every 15 seconds (you can reduce the wait time by changing the "15" value of the utimer).
Edit: Fixed brace-balance + $items instead of items.
Last edited by
Sir_Fz on Sat Aug 23, 2008 3:47 pm, edited 2 times in total.
Amr
Halfop
Posts: 94 Joined: Fri Sep 14, 2007 7:13 am
Location: Egypt
Post
by Amr » Sat Aug 23, 2008 2:51 pm
I got error when i run my eggdrop
Code: Select all
[21:49] missing close-brace
while executing
"proc identifyNicks np {
set items 0
foreach {nick pass} $np {
if {items < 5} {
puthelp "NickServ :identify $nick $pass"
incr items
} else {
..."
Sir_Fz
Revered One
Posts: 3794 Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:
Post
by Sir_Fz » Sat Aug 23, 2008 3:47 pm
Try the edited code.
Amr
Halfop
Posts: 94 Joined: Fri Sep 14, 2007 7:13 am
Location: Egypt
Post
by Amr » Fri Oct 17, 2008 9:10 pm
It doesn't work.
Sir_Fz
Revered One
Posts: 3794 Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:
Post
by Sir_Fz » Sun Oct 19, 2008 7:51 am
Explain what worked and what didn't.
Amr
Halfop
Posts: 94 Joined: Fri Sep 14, 2007 7:13 am
Location: Egypt
Post
by Amr » Sun Oct 19, 2008 9:57 am
The edited code didn't work at all.
Code: Select all
set nicksNpasses {
nick1 pass1
nick2 pass2
nick3 pass3
}
set tenDays [clock scan "10 days"]
bind time - {00 00 *} identify:nicks
proc identify:nicks args {
global nicksNpasses tenDays
if {[unixtime] >= $tenDays} {
identifyNicks $nicksNpasses
set tenDays [clock scan "10 days"]
}
}
proc identifyNicks np {
set items 0
foreach {nick pass} $np {
if {$items < 5} {
puthelp "NickServ :identify $nick $pass"
incr items
} {
utimer 15 [list identifyNicks [lrange $nicksNpasses [expr {$items*2}] end]]
break
}
}
}