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.
-
exs-n0s
- Voice
- Posts: 9
- Joined: Sat Feb 21, 2004 9:00 pm
Post
by exs-n0s »
well, what im trying to do is, have every single PM bot's pms forwarded to a specific channel. But i cant seem to get it working. heres code...
Code: Select all
bind msg - * msgchan
proc noticeuser {nick uhost hand arg} {
puthelp "PRIVMSG $chan :[string tolower $arg]"
return 0
}
-
greenbear
- Owner
- Posts: 733
- Joined: Mon Sep 24, 2001 8:00 pm
- Location: Norway
Post
by greenbear »
Try binding it to the correct proc name...
-
Papillon
- Owner
- Posts: 724
- Joined: Fri Feb 15, 2002 8:00 pm
- Location: *.no
Post
by Papillon »
and bind msgm, not msg
Elen sila lúmenn' omentielvo
-
metroid
- Owner
- Posts: 771
- Joined: Wed Jun 16, 2004 2:46 am
Post
by metroid »
lol, binding it to the wrong proc.
edit: Btw, it would be smart to tell it what channel to send it to?
Code: Select all
bind msgm - * msgchan
proc msgchan {nick uhost hand arg} {
set chan "#channel"
puthelp "PRIVMSG $chan :[string tolower $arg]"
return 0
}
If your going to rip pieces of code to get this, atleast do it right m8
-
awyeah
- Revered One
- Posts: 1580
- Joined: Mon Apr 26, 2004 2:37 am
- Location: Switzerland
-
Contact:
Post
by awyeah »
Why are you using string tolower?
Code: Select all
bind msgm - * msgchan
proc msgchan {nick uhost hand text} {
putserv "PRIVMSG <#channel> :$text"; return 0
}
·awyeah·
==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
==================================