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.

Bindable commands?

Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
Post Reply
d
dq
Voice
Posts: 32
Joined: Mon Apr 03, 2006 12:28 am

Bindable commands?

Post by dq »

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.
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

yes
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use

Code: Select all

 tag when posting logs, code
d
dq
Voice
Posts: 32
Joined: Mon Apr 03, 2006 12:28 am

Post by dq »

Can you maybe post an example or post on how to?
d
dq
Voice
Posts: 32
Joined: Mon Apr 03, 2006 12:28 am

Post by dq »

Anybody?
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

What's that command supposed to do?
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

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
d
dq
Voice
Posts: 32
Joined: Mon Apr 03, 2006 12:28 am

Post by dq »

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..
d
dq
Voice
Posts: 32
Joined: Mon Apr 03, 2006 12:28 am

Post by dq »

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: Select all

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 ;)
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

"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: Select all

 tag when posting logs, code
Post Reply