Go Back   FlashFXP Forums > >

Programming Need help with C/C++/Delphi? Ask here and make us all laugh.

Closed Thread
 
Thread Tools Rate Thread Display Modes
Old 10-08-2003, 03:11 PM   #1
kraxdaz
Member
ioFTPD Foundation User
 
Join Date: Jun 2003
Posts: 86
Question TCL Scripting DZsBoT Modification

i want modify dzsbot and put somes variables here

bind pub -|- [set cmdpre]%VARrequests proc_requests
bind pub -|- [set cmdpre]%VARsearch proc_search
bind pub -|- [set cmdpre]%VARnukes proc_nukes


i put that in the tcl


set VAR "bot1"

bind pub -|- [set cmdpre]%VARrequests proc_requests
bind pub -|- [set cmdpre]search proc_search
bind pub -|- [set cmdpre]nukes proc_nukes

################################################## #######
# CONVERT BASIC COOKIES TO DATA #
################################################## #######
proc basicreplace {strin section} {
global sitename
set output [replacevar $strin "%VAR" $VAR]

these change will make if i type !bot1Rrequests on the chan there is only the bot1 answer as though iobanana

but it does not seem to replace %VAR by $VAR variable
someone can help me?
kraxdaz is offline  
Old 10-08-2003, 03:13 PM   #2
Unique
Senior Member
 
Join Date: Jan 2003
Posts: 231
Default

Erm just setup the cmdpre???
If thats not what you need you can prolly rip the working code from how thats done too.
Unique is offline  
Old 10-08-2003, 03:24 PM   #3
kraxdaz
Member
ioFTPD Foundation User
 
Join Date: Jun 2003
Posts: 86
Default

lol yes i saw it too late
cmdpre is what i need thx gui
kraxdaz is offline  
Closed Thread

Tags
bind, proc_nukes, proc_search, pub, [set

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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

Forum Jump


All times are GMT -5. The time now is 07:26 PM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)