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.
Kaarel
Halfop
Posts: 91 Joined: Sat Apr 26, 2003 5:24 am
Post
by Kaarel » Thu Jun 19, 2003 12:25 pm
I have this code
Code: Select all
bind pub - !User@host pub_user@host
bind pub - !host pub_host
proc pub_host {nick uhost hand chan arg} {
set arg [charfilter $arg]
set alternate [lindex [split $arg] 2]
set hostmask "$nick!*[getchanhost $arg $chan]"
putserv "NOTICE $arg :Your User@host is: $alternate [maskhost $hostmask]"
}
proc pub_user@host {nick uhost hand chan arg} {
set alternate [lindex [split $arg] 2]
set hostmask "$nick!*[getchanhost $nick $chan]"
putserv "NOTICE $nick :Your User@host is: $alternate [maskhost $hostmask]"
}
But when I write !host my bot tells me
Code: Select all
<Botman> [19:25] Tcl error [pub_host]: invalid command name "charfilter"
Whats wrong
cerberus_gr
Halfop
Posts: 97 Joined: Fri Feb 07, 2003 8:57 am
Location: 127.0.0.1
Post
by cerberus_gr » Thu Jun 19, 2003 12:50 pm
There is no procedure charfilter. What do you want this procedure to do?
ReaLz
Op
Posts: 121 Joined: Sat Oct 19, 2002 5:33 am
Location: Athens, Greece
Post
by ReaLz » Thu Jun 19, 2003 2:06 pm
«A fantastic spaghetti is a spaghetti that does not exist»
Papillon
Owner
Posts: 724 Joined: Fri Feb 15, 2002 8:00 pm
Location: *.no
Post
by Papillon » Thu Jun 19, 2003 2:19 pm
do not do that!
that will mess up the complete proc
the charfilter procedure was posted in some other post in this forum a while ago, it was posted by caesar I believe... try searching for it to get it.
Elen sila lúmenn' omentielvo
ReaLz
Op
Posts: 121 Joined: Sat Oct 19, 2002 5:33 am
Location: Athens, Greece
Post
by ReaLz » Thu Jun 19, 2003 2:58 pm
uh if you say so... sorry
«A fantastic spaghetti is a spaghetti that does not exist»
caesar
Mint Rubber
Posts: 3778 Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory
Post
by caesar » Fri Jun 20, 2003 12:21 am
Actualy, no. The code I've used (wich is made by ppslim, not by me) is called "ctrl:filter" is to remove the colours, bold, underline, reverse, etc.. I've seen a "charfilter" proc in the LoL's Toolz script. Probably he got it from there or something..
Once the game is over, the king and the pawn go back in the same box.
Papillon
Owner
Posts: 724 Joined: Fri Feb 15, 2002 8:00 pm
Location: *.no
Post
by Papillon » Fri Jun 20, 2003 2:56 am
ahh.. that was it
... sorry
Elen sila lúmenn' omentielvo