| View previous topic :: View next topic |
| Author |
Message |
dq Voice
Joined: 03 Apr 2006 Posts: 32
|
Posted: Mon Apr 03, 2006 12:30 am Post subject: Bindable commands? |
|
|
Is it physically possible to have a script where you type @bind roster <my roster here> then if you wanted to remove it you'd type @binc roster none or something along those lines, also could you list all your current binds?
All of this done while in an a channel of course. |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Mon Apr 03, 2006 10:35 pm Post subject: |
|
|
yes _________________ connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code |
|
| Back to top |
|
 |
dq Voice
Joined: 03 Apr 2006 Posts: 32
|
Posted: Tue Apr 04, 2006 9:17 am Post subject: |
|
|
| Can you maybe post an example or post on how to? |
|
| Back to top |
|
 |
dq Voice
Joined: 03 Apr 2006 Posts: 32
|
Posted: Wed Apr 05, 2006 10:39 am Post subject: |
|
|
| Anybody? |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Wed Apr 05, 2006 7:57 pm Post subject: |
|
|
| Sir_Fz wrote: | | What's that command supposed to do? |
Would appear we want a public commands solution to manipulate binds for updating/updated files? _________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM |
|
| Back to top |
|
 |
dq Voice
Joined: 03 Apr 2006 Posts: 32
|
Posted: Wed Apr 05, 2006 9:08 pm Post subject: |
|
|
| Alchera wrote: | | Sir_Fz wrote: | | What's that command supposed to do? |
Would appear we want a public commands solution to manipulate binds for updating/updated files? |
Yes, that's exactly what we would want.. |
|
| Back to top |
|
 |
dq Voice
Joined: 03 Apr 2006 Posts: 32
|
Posted: Sun Jun 11, 2006 1:27 pm Post subject: |
|
|
| Sir_Fz wrote: | | What's that command supposed to do? |
I found a version in mIRC which pretty much sums up exactly what I wanted,
| Code: | on *:text:*:#:{ if ($me isop #) || ($me isop $chan) || ($address($nick,2) isin %botowner) || ($address($nick,2) isin %botadmins) && ($chan != #botsrus) {
if ($left($1,1) == $+(%trigger. [ $+ [ $chan ] ])*) && ($remove($1,$left($1,1)) != set) && ($2 == $null) {
if ($eval($+(%,$remove($1,$left($1,1)),.,$chan),2)) {
if ($eval($+(%,theme.,#),2) == 1) && ($eval($+(%,msgmode.,#),2) == 1 || $eval($+(%,msgmode.,#),2) == $null) { /cnotice $nick $chan 10,1[15 $eval($+(%,$remove($1,$left($1,1)),.,$chan),2) 10,1] }
elseif ($left($1,1) == $+(%trigger. [ $+ [ $chan ] ])*) && ($remove($1,$left($1,1)) == set) && ($nick isop $chan || $address($nick,2) isin %botadmins) && ($2 != $null) && ($3 != $null) && ($2 != trigger) && ($2 != punishtype) && ($2 != nourls) && ($2 != noads) && ($2 != nonotice) && ($2 != theme) && ($2 != onjoinmsg) && ($2 != msgmode) && ($2 != onjoinmsg2) {
set $+(%,$2.,#) $3-
/cnotice $nick $chan $2 set to: $eval($+(%,$2.,#),2)
halt
}
|
This is very advanced coding from what I can see, and yes it does work I have tested it in mIRC... anyone keen to trasnlate to TCL  |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Sun Jun 11, 2006 9:47 pm Post subject: |
|
|
"advanced"?
no, this is very primitive coding
I suspect that by "binding" you mean something quite different from eggdrop's command binding; perhaps if you elaborate on what you want to accomplish, someone will be willing to help _________________ connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|