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.

"Crack the code" game - only for user with voice

Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
Post Reply
x
xamrex
Voice
Posts: 13
Joined: Sun Sep 28, 2008 11:07 am

"Crack the code" game - only for user with voice

Post by xamrex »

HI
Here is a game:
http://www.egghelp.org/cgi-bin/tcl_arch ... oad&id=911
Here is a code:
http://wklej.org/id/19304/
Can someone Edit this script?
I wanna that only people with voice on my channel can run this game.

I tryied:
bind pub v|v !ctc tls:ctc
But it doesnt work :( Can someone help me?
g
game_over
Voice
Posts: 29
Joined: Thu Apr 26, 2007 7:22 am

Post by game_over »

Code: Select all

if {$tls_chan != $chan} { return }
to

Code: Select all

if {[isvoice $nick $chan]!=0} {return 0}
for all procs :)
d
dj-zath
Op
Posts: 134
Joined: Sat Nov 15, 2008 6:49 am
Contact:

Post by dj-zath »

you try:

Code: Select all

pub -v !word proc
??

DjZ
:) :)
x
xamrex
Voice
Posts: 13
Joined: Sun Sep 28, 2008 11:07 am

Post by xamrex »

game_over wrote:

Code: Select all

if {$tls_chan != $chan} { return }
to

Code: Select all

if {[isvoice $nick $chan]!=0} {return 0}
for all procs :)
Doesnt work (Person without voice can run this game too)
#################################3
dj-zath wrote: pub -v !word proc
Now nobady can run this game :(((( Even person with op :((
g
game_over
Voice
Posts: 29
Joined: Thu Apr 26, 2007 7:22 am

Post by game_over »

yes i wrong not

Code: Select all

if {![isvoice $nick $tls_chan]} { return }
this is tested :)
x
xamrex
Voice
Posts: 13
Joined: Sun Sep 28, 2008 11:07 am

Post by xamrex »

game_over wrote:yes i wrong not

Code: Select all

if {![isvoice $nick $tls_chan]} { return }
this is tested :)
Doesnt work too.
Nobady can run this script :((
g
game_over
Voice
Posts: 29
Joined: Thu Apr 26, 2007 7:22 am

Post by game_over »

hummm on my bot last work. Only if i have +v he listen me.
x
xamrex
Voice
Posts: 13
Joined: Sun Sep 28, 2008 11:07 am

Post by xamrex »

;(((
ON my chan it doesnt work :(((
g
game_over
Voice
Posts: 29
Joined: Thu Apr 26, 2007 7:22 am

Post by game_over »

are you set

Code: Select all

set tls_chan "#game"
to your chan

this is last i can think like potential problem

- get the original code and then replase

- rehash your bot
x
xamrex
Voice
Posts: 13
Joined: Sun Sep 28, 2008 11:07 am

Post by xamrex »

Yes,
This is my code:

http://wklej.org/id/20231/
Yhm,, Working :D
sorry 4 bad info.
I dont know why before it doesnt work :P

Btw.
I wanna too If someone Write !ctc, and this person dont have voice, bot should answer: You need voice to run game"
g
game_over
Voice
Posts: 29
Joined: Thu Apr 26, 2007 7:22 am

Post by game_over »

Code: Select all

 if {![isvoice $nick $tls_chan]} { putquick "PRIVMSG $tls_chan :You need voice to run game!"; return 0}
change same if who i say to change before :)
Post Reply