Go Back   FlashFXP Forums > > > >

Harm's scripts ioBanana, Readd script, ioVote

Reply
 
Thread Tools Rate Thread Display Modes
Old 06-12-2004, 12:30 PM   #1
godlike
Senior Member
ioFTPD Foundation User
 
Join Date: Dec 2003
Posts: 94
Default Possibility of two !commands in iobanana v20?

I have 2 sites and would like to have one !command for both of them like !bw and they would reply both and then i would also like to have on first site command like !1bw and on the second site command like !2bw ... so they would reply only one at a time but if i would like i would use like !bw and both bots would reply.

Is this possible to include in v20 or am i just insane to request such a thing

have a nice time :P
godlike is offline   Reply With Quote
Old 06-12-2004, 04:45 PM   #2
neoxed
Too much time...
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: May 2003
Posts: 1,326
Default

Either change both sites to use the same command prefix (set ioBvar(cmdpre) "!") or you'll have to make a few changes to the ioBanana.tcl on both sites.

Search for:
Code:
bind pub - $ioBvar(cmdpre)bw bwalias
Above or below it, add:
Code:
bind pub - !bw bwalias
Then just type !bw in the channel, repeat the process for any other commands.
neoxed is offline   Reply With Quote
Old 06-13-2004, 02:52 AM   #3
godlike
Senior Member
ioFTPD Foundation User
 
Join Date: Dec 2003
Posts: 94
Default

Thanx i did it in a little diffrent way but it works fine

Here is my solution:

in iobanan.tcl

i added:

set ioBvar(cmdpre1) "!1"

and then i have added for all commands

bind pub - $ioBvar(cmdpre1)requests reqalias
....

It works great ... thanx again for bringing me on the right track
godlike is offline   Reply With Quote
Reply

Tags
command, include, reply, site, time

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 Off
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 01:44 PM.

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