botlending forum  

Go Back   botlending forum > Eggdrop & TCL > Tcl scripting

Tcl scripting Tcl scripting related questions

Reply
 
LinkBack Thread Tools Display Modes
Old 21-11-2007, 00:15   #1 (permalink)
Junior Member
 
Join Date: Nov 2006
Age: 26
Posts: 3
Rep Power: 0
adriano23 is an unknown quantity at this point
Default setudef

as vrea sa ma ajutati la o chestie cu setudef vreau sa pun la trivie sa setez pe ce canal vreau trivia prin comanda .chanset +trivia ...ma puteti ajuta cu ceva sau sa imi ziceti unde sa intru sa vad asa ceva?

am setat asa ceva in trivie

Code:
setudef flag trivia
bind join - * trivia
proc trivia {nick uhost hand chan text} {
 global botnick tgchan trivia
if {($text == "") || ([regexp -nocase "all" $text]) || ([regexp -nocase "Resident" $text])} {
if {(([lsearch -exact [string tolower $tgchan] [string tolower $chan]] != -1) || ($tgchan == "*"))} {
if {[string match "*+trivia*" [channel info $chan]]} {
  }
 }
}
si mia dat eroarea asta Warning! eggdrop.conf file is missing or has error.Bot Shutdowned.error:missing close-brace

Last edited by UniversaliA; 21-05-2008 at 01:24.
adriano23 is offline   Reply With Quote
Old 27-11-2007, 14:59   #2 (permalink)
#a&a representative
 
Erised's Avatar
 
Join Date: Jun 2004
Location: 127.0.0.1
Age: 20
Posts: 169
Rep Power: 0
Erised is an unknown quantity at this point
Send a message via MSN to Erised Send a message via Yahoo to Erised
Default

Din start se observa ca in lipseste o "}" la sfarsit, cea care inchide procesul.
Second, ultimul if: ai pus conditie, ai deschis si nu ai facut nimic
Anyway, eroare iti da de la ultima acolada, asa ca pune-o si vezi

Code:
setudef flag trivia
bind join - * trivia
proc trivia {nick uhost hand chan text} {
global botnick tgchan trivia
if {($text == "") || ([regexp -nocase "all" $text]) || ([regexp -nocase "Resident" $text])} {
if {(([lsearch -exact [string tolower $tgchan] [string tolower $chan]] != -1) || ($tgchan == "*"))} {
if {[string match "*+trivia*" [channel info $chan]]} {
}
}
}
}
__________________
Best regards,
Erised
Erised is offline   Reply With Quote
Old 07-12-2007, 21:34   #3 (permalink)
Junior Member
 
Join Date: Nov 2006
Age: 26
Posts: 3
Rep Power: 0
adriano23 is an unknown quantity at this point
Default help din nou

acuma merge sa se seteze .chanset +_trivia dar cand dau !start nu vrea sa porneasca imi puteti zice care ar fi problema
am bagat de mai sus partea aia dar nu face nici o miscare
mia apoarut in botnet asta
Tcl error [trivia]: wrong # args: should be "trivia nick uhost hand chan text"
adriano23 is offline   Reply With Quote
Old 12-12-2007, 22:42   #4 (permalink)
Member
 
Join Date: Jun 2004
Location: Canada
Age: 18
Posts: 141
Rep Power: 0
AdrianK is on a distinguished road
Default

Code:
[11:44:20] (Rudo|ph): (8) JOIN (stackable)
[11:44:20] (Rudo|ph): bind join <flags> <mask> <proc>
[11:44:20] (Rudo|ph): procname <nick> <user@host> <handle> <channel>
[11:44:28] (Rudo|ph): read the fucking tcl-commands.doc yourself, bitch
procname <nick> <user@host> <handle> <channel> nu 5 dar 4
AdrianK is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT +3. The time now is 13:41.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.