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 on private msg

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

voice on private msg

Post by pezo »

hey dudes... is there anyone who has or can make a tcl script for me.. that voices a user in a chan when they private msg the bot asking for voice?
example: /msg Botnick voice
and the bot voices that user in a channel..
p
pezo

HELP PLEASE!

Post by pezo »

come on man isnt there ANYONE that can help me abit? please.. :cry:
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

The usual rule applies.

Try and help yourself, then other will try to help.

Read Point 5 on this page.

If we are in the mood, we will help. However, you get people that are persistant, and expect us to provide every dieing moment, to there needs. 2 days, 9 hours is not exactly the longest waiting period ever.

One sugestion.

Try reading, and creating somthing for yourself. We will be glad to help rectify any problem with your attempts, but plain nothing is all take.

There are hundreds of posts on this forum, with tid-bits that can be placed together, to make a complete script. There are hundres of scripts in the archive, witch will also provide tid-bits.
p
pezo

Post by pezo »

Hmmmm.. orite i understand what you are trying to say.. but if i really knew how to script a tcl i wouldnt be asking for help.. i seriously dont know where to start or how. :-?
p
pezo

Post by pezo »

alright.. i have tried to do this.. got afew help from a mate but he doesnt know much aswell.. this is what i have come with..

bind msgm - "*" proc:laina
#seting the channel to voice in
set chan "#Ozturks"
proc proc:laina {nick uhost hand arg} {
global chan

puthelp "mode $chan +v $nick"
}
return 0
putlog "Forward loaded"

It works! yes thats what i wanted BUT.. can someone help me make it voice when they actually msg the bot qouting 'Voice'. with the code i got now it voices no matter what you say to the bot.. and if possible is there a way to make it only voice a user if they dont have voice.. i would be very happy if someone could help me with this...[/b][/code]
User avatar
Papillon
Owner
Posts: 724
Joined: Fri Feb 15, 2002 8:00 pm
Location: *.no

Post by Papillon »

change this line

Code: Select all

bind msgm - "*" proc:laina
to this

Code: Select all

bind msg - voice proc:laina
Elen sila lúmenn' omentielvo
p
pezo

Post by pezo »

ahhhh.. thanks a lot Papillon your a legend! :D

but is there any way of making the bot voice a user only when they dont have voice?
User avatar
Papillon
Owner
Posts: 724
Joined: Fri Feb 15, 2002 8:00 pm
Location: *.no

Post by Papillon »

Code: Select all

bind msg - voice proc:laina 
#seting the channel to voice in 
set chan "#Ozturks" 

proc proc:laina {nick uhost hand arg} { 
  global chan 
  if {[isvoice $nick $chan]} { puthelp "mode $chan +v $nick" } 
  putlog "Forward loaded"
}
Elen sila lúmenn' omentielvo
p
pezo

Post by pezo »

thanks again dude.. your the best :) thanks for all the time..
s
spock
Master
Posts: 319
Joined: Thu Dec 12, 2002 8:40 pm

Post by spock »

could be im making an ass of myself
but shouldnt it be ![isvoice $nick $chan] ?
my sense of logic is usually a bit off though :|
photon?
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

Yes it should
User avatar
Papillon
Owner
Posts: 724
Joined: Fri Feb 15, 2002 8:00 pm
Location: *.no

Post by Papillon »

hehe... that's what you get when mixing beer and scripting... :oops:
Elen sila lúmenn' omentielvo
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

I'm right there with you bud.

Right, when do we start singing the Irish Jig.
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

I'll be the background voice :)
Once the game is over, the king and the pawn go back in the same box.
User avatar
Papillon
Owner
Posts: 724
Joined: Fri Feb 15, 2002 8:00 pm
Location: *.no

Post by Papillon »

hehe, god save us :p
Elen sila lúmenn' omentielvo
Locked