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.

im a noob need some help

Old posts that have not been replied to for several years.
Locked
p
p00tin

Post by p00tin »

Hello, i need a script that kicks user with .fi host on join.
This i wrote but something is wrong.

bind join -*!*@*.fi fikick:join
proc fikick {nick host chan text}
global nick channel host
putserv "KICK $channel $nick:bla bla";
}

thx for help
p00tin
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

Just add a fake user to the bot, with that host as it;s hostmask, then previde it with the flags +k.
p
p00tin

Post by p00tin »

thank you, it works.
But i want to learn a lill bit tcl.
maybe somebody can explain whats wrong
on my litlle script :wink:
thanks
P
Petersen
Owner
Posts: 685
Joined: Thu Sep 27, 2001 8:00 pm
Location: Blackpool, UK

Post by Petersen »

Bad bind definition
incorrect number of arguments for join proc
undefined variable $channel
unneeded global declarations
Locked