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.
Old posts that have not been replied to for several years.
-
L
LuMpI
Post
by LuMpI »
I have tryed some bind mode -o codes asked on many channels but my eggdrop doesnt did anything. I hope someone can help me. Sry 4 bad eng.
Here my Testing try:
Code: Select all
bind mode - "#mylumpi -o" bash
proc bash {NICK HOST HAND CHAN MODECHANGE VICTIM} { putserv "PRIVMSG #mylumpi :meep" }
Here is the script from mirc scripting what i want in my eggdrop:
Code: Select all
on *:DEOP:#woosai: {
if (($opnick == $me) && ($nick != $me)) {
if (q ison $chan) { msg q op $chan }
elseif (L ison $chan) { msg l op $chan }
.timer 1 1 kicknban $chan $nick | /msg )wooSai +bitch #woosai
}
}
on *:MODE:#:{ if (i isincs $chan($chan).mode) { .timer 1 1 kicknban $chan $nick | mode $chan -i } }
alias kicknban { if ($me isop $1) mode $1 -o $2 | mode $1 +b $address($2,3) | kick $1 $2 4,1Zack und weg! }
I hope someone can help me.
-
z_one
- Master
- Posts: 269
- Joined: Mon Jan 14, 2002 8:00 pm
- Location: Canada
Post
by z_one »
LuMpI wrote:
Here my Testing try:
Code:
bind mode - "#mylumpi -o" bash
proc bash {NICK HOST HAND CHAN MODECHANGE VICTIM} { putserv "PRIVMSG #mylumpi :meep" }
Try this instead
Code: Select all
bind mode - * proc:bash
proc proc:bash {nick uhost hand chan mode victim} {
if {"$mode" == "-o"} {
putserv "PRIVMSG #mylumpi :meep"
}
}
unless you're referring to the entire script. Then I might have mis-understood your point.