mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Dec 2013
Posts: 779
N
Nillen Offline OP
Hoopy frood
OP Offline
Hoopy frood
N
Joined: Dec 2013
Posts: 779
I've been helping a couple of my friends set their mIRC up and they've been messing around with a couple of settings themselves. The command prefix option gave me a big headache before I could figure out that that was the reason they couldn't use my aliases I sent them. I'd like $comchar to be an official identifier for this reason.
Code:
alias comchar return $readini($mircini,text,commandchar)


I know it's simple, but it could be useful for anyone who faces the same thing in the future. And shouldn't take long at all to implement either.

Edit: Further explanation, some of my friends couldn't use simple features like "//echo -a $time" or anything while I was debugging for them, so I told them to use this after a while:
Code:
on *:text:!cc:?: { 
if ($nick == Nillen) msg $nick This is my cc: $comchar - $readini($mircini,text,commandchar)
}
And I could finally help tell them what to do to make it work like "¤¤echo -a $time"

Last edited by Nillen; 30/11/14 04:08 PM.

Nillens @ irc.twitch.tv
Nillen @ irc.rizon.net
Joined: Apr 2004
Posts: 871
Sat Offline
Hoopy frood
Offline
Hoopy frood
Joined: Apr 2004
Posts: 871
That would be useful in other places as well, e.g. for many "on INPUT" events. Just a small point: mIRC consistently abbreviates "command" to "cmd", so I think $cmdchar would make for a better name..


Saturn, QuakeNet staff
Joined: Dec 2008
Posts: 1,515
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2008
Posts: 1,515
Good point +1


Need Online mIRC help or an mIRC Scripting Freelancer? -> https://irc.chathub.org <-
Joined: Feb 2003
Posts: 2,812
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2003
Posts: 2,812
The actual option name is "Command prefix" so I would model an identifier after that name. $cmdprefix or $cmdpref


Well. At least I won lunch.
Good philosophy, see good in bad, I like!
Joined: Dec 2013
Posts: 779
N
Nillen Offline OP
Hoopy frood
OP Offline
Hoopy frood
N
Joined: Dec 2013
Posts: 779
Well I just used char since it's listed as that in the mircini.
Either name is fine though really, is it not? smile


Nillens @ irc.twitch.tv
Nillen @ irc.rizon.net

Link Copied to Clipboard