mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Oct 2005
Posts: 75
C
Babel fish
OP Offline
Babel fish
C
Joined: Oct 2005
Posts: 75
hello anybody,

ok i've asked this before but never did get an answer or get this problem solved. this is what i have in my text file below.

/say 1,1 1,14=-==-==-==-==-==-==-=Bot Commands=-==-==-==-==-==-==-=1,1 
/say 12 $+ $me addown nick 15adds nick to bot list
/say 12 $+ $me delown nick 15removes nick from bot list
/say 12 $+ $me nick newnick 15changes $me $+ 's nick to newnick
/say 12 $+ $me ping nick or pingme 15ping checker
/say 12 $+ $me -level level 15removes user level specified
/say 12 $+ $me botlist 15shows whois in botlist
/say 12 $+ $me +/-lockdown 15enables, disables lock mode
/say 12 $+ $me +/-flyby 15enables, disables flyby
/say 12 $+ $me +/-pvtspy 15enables, disables $me $+ 's query spyer
/say 12 $+ $me listnicks inchannel outchannel 15shows nicks from channel to channel
/say 12 $+ $me +/-autokick nick 15adds, removes nick to and from autokicker
/say 12 $+ $me +/-autoban nick 15adds, removes nick to and from autobanner
/say 12 $+ $me +/-shitlist nick 15adds, removes nick to and from shitlist
/say 12 $+ $me +/-counter 15enables, disables auto counter
/say 12 $+ $me cycle 15does a quick part and rejoins current channel
/say 12 $+ $me join channel 15joins channel specified
/say 12 $+ $me part channel 15parts channel specified
/say 12 $+ $me +/-spy spychan spyresultchan 15enables, disables channel spyer
/say 12 $+ $me +/-away away reason 15sets $me on away and back
/say 12 $+ $me die 15disconnects $me *the bot*
/say 12 $+ $me system info 15show $me $+ 's system infos
/say 12 $+ $me calcualte equation and or math problem 15ie: calculate 1+1
/say 12 $+ $me controls 15shows bot controls
/say 12 $+ $me entertainment 15shows a list of entertainments
/say 12 $+ $me publiccmds 15shows public commands
/say 12 $+ $me logs 15shows log names and how many lines per log
/say 12 $+ $me readlog logname <number> 15reads log names starting from line specified
/say 12 $+ $me help 15shows $me $+ 's basic help
/say 12 $+ $me level <level> displays user(s) on specified level
/say 1,1 1,14=-==-==-==-==-===-==-==-==-==-==-==-==-==-==-==-==-==-=1,1 


and this is what i have in my remotes below

On 187:TEXT:$($me $+ *):*: {
if ($2 == commands) { play -[color:#FF0000]c
q1 $nick $mircdirCmds\Commands.txt 1400 | halt }
}[/color]

it works fine with # but when i replace # with $nick it still plays the text file to active channel instead of playing to $nick, is there a work around this? any help appreciated, thanks bunch.

Joined: Sep 2005
Posts: 2,881
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,881
/say will message the active window. Change all of those /says to /msg $chan

Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
Wouldn't you want those to change to: msg $1 ?


Invision Support
#Invision on irc.irchighway.net
Joined: Sep 2005
Posts: 2,881
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,881
I'm not sure $1 would be filled there.

*shrug*

Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
Would $chan be filled properly? I know if you call an alias with /play, $1 is the nick/chan to send to. I've never tried running commands from /play, so maybe $chan is fine.


Invision Support
#Invision on irc.irchighway.net
Joined: Oct 2005
Posts: 75
C
Babel fish
OP Offline
Babel fish
C
Joined: Oct 2005
Posts: 75
ok now it seems to work with /msg $1 and /msg $nick but both $1 and $nick stands for bot itself in this case, and also... the $mes i have in my text file disappeared this is what it did below...

(00:58:37) (MyNick) MyBotNick commands
(00:58:38) ›› Msg: to [ ] : =-==-==-==-==-==-==-=Bot Commands=-==-==-==-==-==-==-=
(00:58:39) ›› Msg: to [ MyBotNick ] : addown nick adds nick to bot list
(00:58:39) ›› Msg: to [ MyBotNick ] : delown nick removes nick from bot list
(00:58:40) ›› Msg: to [ MyBotNick ] : nick newnick changes MyBotNick's nick to newnick
(00:58:41) ›› Msg: to [ MyBotNick ] : ping nick or pingme ping checker
(00:58:42) ›› Msg: to [ MyBotNick ] : -level level removes user level specified
(00:58:43) ›› Msg: to [ MyBotNick ] : botlist shows whois in botlist
(00:58:44) ›› Msg: to [ MyBotNick ] : +/-lockdown enables, disables lock mode
(00:58:45) ›› Msg: to [ MyBotNick ] : +/-flyby enables, disables flyby
(00:58:46) ›› Msg: to [ MyBotNick ] : +/-pvtspy enables, disables MyBotNick's query spyer
(00:58:47) ›› Msg: to [ MyBotNick ] : listnicks inchannel outchannel shows nicks from channel to channel
(00:58:48) ›› Msg: to [ MyBotNick ] : +/-autokick nick adds, removes nick to and from autokicker
(00:58:49) ›› Msg: to [ MyBotNick ] : +/-autoban nick adds, removes nick to and from autobanner
(00:58:49) ›› Msg: to [ MyBotNick ] : +/-shitlist nick adds, removes nick to and from shitlist
(00:58:50) ›› Msg: to [ MyBotNick ] : +/-counter enables, disables auto counter
(00:58:51) ›› Msg: to [ MyBotNick ] : cycle does a quick part and rejoins current channel
(00:58:52) ›› Msg: to [ MyBotNick ] : join channel joins channel specified
(00:58:53) ›› Msg: to [ MyBotNick ] : part channel parts channel specified
(00:58:54) ›› Msg: to [ MyBotNick ] : +/-spy spychan spyresultchan enables, disables channel spyer
(00:58:55) ›› Msg: to [ MyBotNick ] : +/-away away reason sets MyBotNick on away and back
(00:58:56) ›› Msg: to [ MyBotNick ] : die disconnects MyBotNick *the bot*
(00:58:57) ›› Msg: to [ MyBotNick ] : system info show MyBotNick's system infos
(00:58:58) ›› Msg: to [ MyBotNick ] : calcualte equation and or math problem ie: calculate 1+1
(00:58:58) ›› Msg: to [ MyBotNick ] : controls shows bot controls
(00:58:59) ›› Msg: to [ MyBotNick ] : entertainment shows a list of entertainments
(00:59:00) ›› Msg: to [ MyBotNick ] : publiccmds shows public commands
(00:59:01) ›› Msg: to [ MyBotNick ] : logs shows log names and how many lines per log
(00:59:02) ›› Msg: to [ MyBotNick ] : readlog logname <number> reads log names starting from line specified
(00:59:03) ›› Msg: to [ MyBotNick ] : help shows MyBotNick's basic help
(00:59:04) ›› Msg: to [ MyBotNick ] : level <level> displays user(s) on specified level
(00:59:05) ›› Msg: to [ ] : =-==-==-==-==-===-==-==-==-==-==-==-==-==-==-==-==-==-=


Link Copied to Clipboard