| View previous topic :: View next topic |
| Author |
Message |
xamrex Voice
Joined: 28 Sep 2008 Posts: 13
|
|
| Back to top |
|
 |
game_over Voice
Joined: 26 Apr 2007 Posts: 29
|
Posted: Tue Nov 18, 2008 2:05 pm Post subject: |
|
|
| Code: | | if {$tls_chan != $chan} { return } |
to
| Code: | | if {[isvoice $nick $chan]!=0} {return 0} |
for all procs  |
|
| Back to top |
|
 |
dj-zath Op
Joined: 15 Nov 2008 Posts: 134
|
Posted: Tue Nov 18, 2008 2:07 pm Post subject: |
|
|
you try:
??
DjZ
 |
|
| Back to top |
|
 |
xamrex Voice
Joined: 28 Sep 2008 Posts: 13
|
Posted: Wed Nov 19, 2008 2:44 pm Post subject: |
|
|
| game_over wrote: | | Code: | | if {$tls_chan != $chan} { return } |
to
| Code: | | 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 ( |
|
| Back to top |
|
 |
game_over Voice
Joined: 26 Apr 2007 Posts: 29
|
Posted: Thu Nov 20, 2008 8:51 am Post subject: |
|
|
yes i wrong not
| Code: | | if {![isvoice $nick $tls_chan]} { return } |
this is tested  |
|
| Back to top |
|
 |
xamrex Voice
Joined: 28 Sep 2008 Posts: 13
|
Posted: Thu Nov 20, 2008 10:13 am Post subject: |
|
|
| game_over wrote: | yes i wrong not
| Code: | | if {![isvoice $nick $tls_chan]} { return } |
this is tested  |
Doesnt work too.
Nobady can run this script ( |
|
| Back to top |
|
 |
game_over Voice
Joined: 26 Apr 2007 Posts: 29
|
Posted: Thu Nov 20, 2008 11:14 am Post subject: |
|
|
| hummm on my bot last work. Only if i have +v he listen me. |
|
| Back to top |
|
 |
xamrex Voice
Joined: 28 Sep 2008 Posts: 13
|
Posted: Thu Nov 20, 2008 4:10 pm Post subject: |
|
|
;(((
ON my chan it doesnt work (( |
|
| Back to top |
|
 |
game_over Voice
Joined: 26 Apr 2007 Posts: 29
|
Posted: Fri Nov 21, 2008 8:43 am Post subject: |
|
|
are you set
| Code: | | 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 |
|
| Back to top |
|
 |
xamrex Voice
Joined: 28 Sep 2008 Posts: 13
|
Posted: Fri Nov 21, 2008 10:17 am Post subject: |
|
|
Yes,
This is my code:
http://wklej.org/id/20231/
Yhm,, Working
sorry 4 bad info.
I dont know why before it doesnt work
Btw.
I wanna too If someone Write !ctc, and this person dont have voice, bot should answer: You need voice to run game" |
|
| Back to top |
|
 |
game_over Voice
Joined: 26 Apr 2007 Posts: 29
|
Posted: Fri Nov 21, 2008 11:38 am Post subject: |
|
|
| Code: | 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  |
|
| Back to top |
|
 |
|