| View previous topic :: View next topic |
| Author |
Message |
4mirc Voice

Joined: 16 May 2008 Posts: 37
|
Posted: Sun May 18, 2008 10:56 pm Post subject: can i make auto open mode |
|
|
is it possible to make my bot auto open mode every 1 minute or 15 min
the time and channel let me choice them make it for multiple channel
example : Sysop sets mode: +ntk-RMmcisk auto-open-mode
and thx |
|
| Back to top |
|
 |
4mirc Voice

Joined: 16 May 2008 Posts: 37
|
Posted: Mon May 19, 2008 1:32 am Post subject: |
|
|
12 viewed this post but no 1 reply ??
thx |
|
| Back to top |
|
 |
DragnLord Owner

Joined: 24 Jan 2004 Posts: 711 Location: C'ville, Virginia, USA
|
Posted: Mon May 19, 2008 12:06 pm Post subject: |
|
|
| 4mirc wrote: | 12 viewed this post but no 1 reply ??
thx | You're welcome. |
|
| Back to top |
|
 |
4mirc Voice

Joined: 16 May 2008 Posts: 37
|
Posted: Mon May 19, 2008 7:37 pm Post subject: |
|
|
hi DragnLord
i need help in script not in THX word i guess right ?
if u don't know how or u can't make it u can say that .
if u replied about my script better than
i guess this forum for help maybe
No problem Thats mean no 1 can make this tcl script |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Mon May 19, 2008 11:36 pm Post subject: |
|
|
| 4mirc wrote: | | No problem Thats mean no 1 can make this tcl script |
It means, as per the sticky, that you wait VERY patiently and not bump for the sake of getting attention else it's into the Jank Yard.  _________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM |
|
| Back to top |
|
 |
DragnLord Owner

Joined: 24 Jan 2004 Posts: 711 Location: C'ville, Virginia, USA
|
Posted: Tue May 20, 2008 12:13 am Post subject: |
|
|
| Alchera wrote: | | 4mirc wrote: | | No problem Thats mean no 1 can make this tcl script |
It means, as per the sticky, that you wait VERY patiently and not bump for the sake of getting attention else it's into the Jank Yard.  |
You showed no courtesy to wait for a decent amount of time before making a whiny post about no replies (your second post came less then 4 hours after first post), around here that is about the same as making demands upon persons you are not compensating for their time and efforts.
These forums are read by search bots, which is likely where most of the views are from.
I had considered making a script to fulfill your initial request, until I read your second post.
Perhaps another person here would still consider making this for you.
Another idea would be to read the documentation that comes with eggdrop and also this website to attempt creating your own script. |
|
| Back to top |
|
 |
4mirc Voice

Joined: 16 May 2008 Posts: 37
|
Posted: Tue May 20, 2008 1:52 am Post subject: |
|
|
its my 3 or 4 post and no 1 replied tell now
and if u like to make it thx u ... if not also thx alot
its just a command not a war i will not lose any thing if u don't make it
i need help so i found this forum to help me  |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Tue May 20, 2008 3:23 pm Post subject: |
|
|
This is something for you to start with:
| Code: | bind time - * set:modes
proc set:modes args {
puthelp "mode #channel +ntk-RMmcisk auto-open-mode"
} |
This will set the mode on #channel every minute. _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
4mirc Voice

Joined: 16 May 2008 Posts: 37
|
Posted: Tue May 20, 2008 11:01 pm Post subject: |
|
|
thx thx alot Sir_Fz
i have question .. how can i add more channels and to make the time 10
minutes and more? |
|
| Back to top |
|
 |
Papillon Owner

Joined: 15 Feb 2002 Posts: 724 Location: *.no
|
Posted: Wed May 21, 2008 6:10 am Post subject: |
|
|
Using Sir_Fz example:
| Code: | set channelsyouwant "#chan1 #chan2 #chan3"
bind time - "?0 *" set:modes
proc set:modes args {
foreach c [list $channelsyouwant] {
puthelp "mode $c +ntk-RMmcisk auto-open-mode"
}
} |
_________________ Elen sila lúmenn' omentielvo |
|
| Back to top |
|
 |
Nor7on Op

Joined: 03 Mar 2007 Posts: 185 Location: Spain - Barcelona
|
Posted: Wed May 21, 2008 7:32 am Post subject: |
|
|
i have other code.
| Code: |
#set the channel/s when u want run the tcl.
#ex: "#mychan1 #mychan2 #mychan3"
set channels "#mychan1 #mychan2"
#set the channel modes
set openmodes "nt-mirs"
bind time - "?0 *" mode:open
proc mode:open args {
global channels openmodes
foreach channel $channels {
putquick "MODE $channel +$openmodes"
}
}
putlog "OpenChanModes.tcl v1.0 Working Fine by Nor7on"
|
 |
|
| Back to top |
|
 |
4mirc Voice

Joined: 16 May 2008 Posts: 37
|
Posted: Wed May 21, 2008 9:34 pm Post subject: |
|
|
thx Papillon Nor7on
im testing the sceipts
thx alot |
|
| Back to top |
|
 |
|