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.

putquick "KICK - drops last part of kick message

Old posts that have not been replied to for several years.
Locked
User avatar
Dedan
Master
Posts: 260
Joined: Wed Jul 09, 2003 10:50 pm
Location: Memphis

putquick "KICK - drops last part of kick message

Post by Dedan »

I changed to 'putquick" insted of "putkick" to quicken the kick que
(It is much faster)
but now it drops the kick message at the first space.
i would rather not place the kick message into a varable ...
any ideas?

Code: Select all

if {[onchan $nick $chan]} {putquick "KICK $chan $nick \00310Unacceptable Language\003 "}
 
*** Sol37 was kicked by Zia (Unacceptable)


I once was an intelligent young man, now i am old and i can not remember who i was.
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

syntax: putquick "KICK $chan $nick :<reason>"

so it should be:

Code: Select all

if {[onchan $nick $chan]} {putquick "KICK $chan $nick :\00310Unacceptable Language\003 "} 
  
*** Sol37 was kicked by Zia (Unacceptable Language)
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

Yes Sir_Fz, but without the *** Sol37 was kicked by Zia (Unacceptable Language) part. Also, do you use the putquick for speed or just to do the kick thing?
Once the game is over, the king and the pawn go back in the same box.
User avatar
Dedan
Master
Posts: 260
Joined: Wed Jul 09, 2003 10:50 pm
Location: Memphis

Post by Dedan »

i have been using "putquick" for bans,
it is much faster .. i noticed the kicks where
slow, so i decided to use "putquick for the kicks.

i had been using the ":", but forgot to use it in the kick.
but, it works in a ban without the ":"

putquick "MODE $chan +b *!*@[lindex [split $uhost @] end]"

thanks for the help, the kick is working now that i placed the ":"
in the command line, thanks Sir_Fz :D
I once was an intelligent young man, now i am old and i can not remember who i was.
User avatar
BarkerJr
Op
Posts: 104
Joined: Sun Mar 30, 2003 1:25 am
Contact:

Post by BarkerJr »

The only reason to use putkick is if your IRCd allows the bot to kick multiple users in one command. Otherwise, there's no advantage (except you don't have to use colons).
User avatar
Dedan
Master
Posts: 260
Joined: Wed Jul 09, 2003 10:50 pm
Location: Memphis

Post by Dedan »

speed 8)
I once was an intelligent young man, now i am old and i can not remember who i was.
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

caesar wrote:Yes Sir_Fz, but without the *** Sol37 was kicked by Zia (Unacceptable Language) part. Also, do you use the putquick for speed or just to do the kick thing?
the "*** Sol37 was kicked by Zia (Unacceptable Language)" part was an example that the kick message will be normal, not just the first word :P
as you see dedan's example had only the first word. :)
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

If it's for speed then add -next at the end of the line or use the putdccraw. See this post.

PS: Yes Sir_Fz, noticed that. :P
Once the game is over, the king and the pawn go back in the same box.
Locked