mIRC Home    About    Download    Register    News    Help

Print Thread
#101769 27/10/04 11:23 PM
Joined: Oct 2004
Posts: 3
B
Self-satisified door
OP Offline
Self-satisified door
B
Joined: Oct 2004
Posts: 3
somone on the server i use has a nick of "|" the | is used in mirc code to split commands up and i find whenever he triggers timers or some commands i end up with errors as a timer such as /timer 1 10 /msg $nick hello and welcome to $chan ends up being rand as 2 seperate commands and my script trying to run an alias called hello

dose this problem have an easy answer or will it be easyer to add him to an ignored group so my scripts just dont effect him ?

#101770 27/10/04 11:28 PM
Joined: Dec 2003
Posts: 261
M
Fjord artisan
Offline
Fjord artisan
M
Joined: Dec 2003
Posts: 261
I would add this:
if $nick == $chr(124) return
or
if $$1 == $chr(124) return
(if it doesn't have $nick identifier)


velicha dusha moja Gospoda
#101771 27/10/04 11:33 PM
Joined: Oct 2004
Posts: 3
B
Self-satisified door
OP Offline
Self-satisified door
B
Joined: Oct 2004
Posts: 3
isn't there some way to combat this easily so that, that user can still use all of my mirc bot commands, as it is probably the biggest bot on the server, except for the services ofc. He isnt worth changing all of my code for though

#101772 28/10/04 01:00 AM
Joined: Jul 2004
Posts: 19
S
Pikka bird
Offline
Pikka bird
S
Joined: Jul 2004
Posts: 19
did you try to buffer the nick in a %var ? maybe it would work


Thinking is the worst disease of the brain.

To reply by mail, remove "nospam-" in my adress

Link Copied to Clipboard