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.

Voice scripts

Old posts that have not been replied to for several years.
Locked
D
Dizzle
Op
Posts: 109
Joined: Thu Apr 28, 2005 11:21 am
Contact:

Voice scripts

Post by Dizzle »

I have this script too voice ppl with this Tag for there name

Code: Select all


bind join - "*" voice:nicks 
 
proc voice:nicks {nick uhost hand chan} { 
 if {[botisop $chan] && ([string match "
NL|*" $nick] || [string match "HOL|*" $nick])} { 
  pushmode $chan +v $nick 
  } 
} 
I like too give ppl voice when they change nick when already in channel

is it like this ( i found this in tcl-commands.doc)

Code: Select all


bind nick - "*" voice:nickchange 
proc voice:nickchange {nick uhost hand chan} { 
 if {[botisop $chan] && ([string match "
NL|*" $nick] || [string match "HOL|*" $nick])} { 
  pushmode $chan +v $nick 
  } 
} 



is this the right code ??
User avatar
^DooM^
Owner
Posts: 772
Joined: Tue Aug 26, 2003 5:40 pm
Location: IronForge
Contact:

Post by ^DooM^ »

Try it :)
The lifecycle of a noob is complex. Fledgling noobs gestate inside biometric pods. Once a budding noob has matured thru gestation they climb out of their pod, sit down at a PC, ask a bunch of questions that are clearly in the FAQ, The Noob is born
User avatar
De Kus
Revered One
Posts: 1361
Joined: Sun Dec 15, 2002 11:41 am
Location: Germany

Post by De Kus »

it wont work, you have to use rather:
{oldnick uhost hand chan nick}
as arguments ^^
De Kus
StarZ|De_Kus, De_Kus or DeKus on IRC
Copyright © 2005-2009 by De Kus - published under The MIT License
Love hurts, love strengthens...
D
Dizzle
Op
Posts: 109
Joined: Thu Apr 28, 2005 11:21 am
Contact:

Post by Dizzle »

if have tried something, and it worked

dont know if anybody can use it, butt im posting it anyway 8) , butt here is the script.

Code: Select all


bind join - "*" voice:nicks 

proc voice:nicks {nick uhost hand chan} { 
if {[botisop $chan] && ([string match "NL|*" $nick] || [string match "HOL|*" $nick] || [string match "NED|*" $nick])} { 
pushmode $chan +v $nick 
puthelp "NOTICE $nick : Heey een echte holland fan, echte hollanders verdienen voice, veel plezier in #holland"
} 
} 

bind nick - "*" voice:nickch

proc voice:nickch {nick uhost hand chan newnick} { 
if {[botisop $chan] && ([string match "NL|*" $newnick] || [string match "HOL|*" $newnick] || [string match "NED|*" $newnick])} { 
pushmode $chan +v $newnick 
puthelp "NOTICE $nick : Heey een echte holland fan, echte hollanders verdienen voice, veel plezier in #holland"
} 
} 
it gives voice too ppl with the tag NL| HOL| NED|, on join and on nickchange

thx for advice
Locked