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.

help with small simple script

Old posts that have not been replied to for several years.
Locked
a
acidblade

help with small simple script

Post by acidblade »

im new to tcl's but can somone tell me what I need to do the following

when a oped bot get the message "op me please" in a prv msg, it ops the person
ALSO
when a oped bot get the message "voice me please" in a prv msg, it voiced that person?

any help would be helpful
:evil:
a
acidblade

voice on prv msg

Post by acidblade »

well I solved my own program here is the code needed

Code: Select all

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

proc proc:laina {nick uhost hand arg} { 
  global chan 
  if {![isvoice $nick $chan]} { puthelp "mode $chan +v $nick" } 
  putlog "Forward loaded" 
}
[/code]
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

Congratulations! You did a wonderfull job. :)
Once the game is over, the king and the pawn go back in the same box.
Locked