botlending forum  

Go Back   botlending forum > Eggdrop & TCL > Tcl scripting

Tcl scripting Tcl scripting related questions

Reply
 
LinkBack Thread Tools Display Modes
Old 25-06-2007, 22:37   #1 (permalink)
Junior Member
 
Join Date: Apr 2007
Posts: 11
Rep Power: 0
SoLLo is an unknown quantity at this point
Default putchan error

Am un TCL (este de la un prieten,nu stiu copyright) si nu reusesc sa il fac sa mearga !

Code:
set quoteAWAY	 {
    "io nu's away :)"
    "hai sa ne bagam si noi away :P"
    "di ma .. mda toti is away aici ?"
    "precis o mers la buda :)~"
    ":( nu mai am cu cine povesti :p"
}
set allyourbaseAWAY "*is*away*"
bind pubm - * checkbaseAWAY
bind ctcp - "ACTION" checkbaseAWAY
proc checkbaseAWAY {nick uhost hand chan args} {
    global allyourbaseAWAY quoteAWAY
        if {[string match -nocase $allyourbaseAWAY $args]} {
            putchan $chan "[lindex $quoteAWAY [rand [llength $quoteAWAY]]]"
}
    return 1
}
putlog "\00313away *ON* !\00313"
Imi da eroarea asta in botnet !
Code:
[00:00] Tcl error [checkbaseAWAY]: invalid command name "putchan"
SoLLo is offline   Reply With Quote
Old 27-06-2007, 15:50   #2 (permalink)
Junior Member
 
Madalin's Avatar
 
Join Date: Oct 2004
Posts: 29
Rep Power: 0
Madalin is an unknown quantity at this point
Send a message via Yahoo to Madalin
Default

normal pentru ca acea comanda nu exista, totusi ce vrei ca acel tcl sa faca ?!!
Madalin is offline   Reply With Quote
Old 27-06-2007, 18:36   #3 (permalink)
Junior Member
 
Join Date: Apr 2007
Posts: 11
Rep Power: 0
SoLLo is an unknown quantity at this point
Default

Pai cand scrii pe canal "away" bot-ul sa raspunda cu una din liniile setate mai sus ! Nu stii cum pot face sa functioneze ala ?
SoLLo is offline   Reply With Quote
Old 28-06-2007, 18:20   #4 (permalink)
Junior Member
 
Madalin's Avatar
 
Join Date: Oct 2004
Posts: 29
Rep Power: 0
Madalin is an unknown quantity at this point
Send a message via Yahoo to Madalin
Default

Incarca scriptul alltools.tcl (source scripts/alltools.tcl)
Madalin is offline   Reply With Quote
Old 30-06-2007, 13:45   #5 (permalink)
TCB & Ratings projects Member, #Mythic representative
 
arcade's Avatar
 
Join Date: Jun 2004
Location: In fatza calculatorului!!
Age: 19
Posts: 221
Rep Power: 37
arcade is on a distinguished road
Send a message via Yahoo to arcade
Default

inlocuiesti asta:
Code:
putchan $chan "[lindex $quoteAWAY [rand [llength $quoteAWAY]]]"
cu asta
Code:
puthelp "PRIVMSG $chan :[lindex $quoteAWAY [rand [llength $quoteAWAY]]]"
__________________
Fuck oFF!
arcade 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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Chankey... error... help vR|Ar a&a light script 2 03-05-2007 13:27
eggdrop 1.6.17 error OryNider Eggdrop 5 10-09-2006 12:54


All times are GMT +3. The time now is 11:30.


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