Dynadot .com transfer sale, only $10.12 with coupon code DYNA12, available while supplies last, ends October 31, 2026.

Perl -- Kick Script (IRC Bot help)

Namecheap AuctionsNamecheap Auctions
SpaceshipSpaceship
SpaceshipSpaceship
Watch

RageD

VIP Member
Impact
31
Ok, how can I make my kick script work?

if ($event->nick eq "$owner") {
if ($arg =~ /$kick/i) {
$self->kick("$chan", "somevariable");
chat_log("somevariable kicked from $chan by $nick\n");
}
}

Now what would the variable be to fix that? So I would type !kick Nick & it would kick nick..

oh yeah, variable for $kick =

my $kick = "$opts{cmdprefix}kick";


-Thanks

-RageD
 
0
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
DomainEasy: flexible LTO options. Close more domain deals with financing.

We're social

Escrow.com
Spaceship
CryptoExchange.com
Domain Recover

NamePros updates

Quick replies: search, your most used replies, and more on every post
Quick replies are easier to find and use now. The quick reply menu has a search box. Type a few letters to find the reply you want. A...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back