mIRC Homepage
Posted By: TimeChild :text:-events - 18/12/04 10:08 PM
However scripting seems allright,some of my remotes won't work.
it seems my script doens't respond to certain :text: events.
altough it's a simple thingie like : on 1:text:!test*:#: /msg $chan I'm working fine. <---this one doesn't want to work.maybe someone can explain?? thx
Posted By: ricky_knuckles Re: :text:-events - 18/12/04 10:37 PM
well i guess you want everyone to be able to access this other wise you would have added a level or comaparison

why the * after test
dont you want it to work on !test

on *:text:!test:#:{
/msg $chan everything is working fine
}
Posted By: Relinsquish Re: :text:-events - 18/12/04 10:42 PM
Code:
On *:TEXT:!Test:#: { msg # I'm working fine. }

ricky_knuckles: Your remote format of the on text event is incorrect. You need to add :#: after "!Test" and before {.
Posted By: ricky_knuckles Re: :text:-events - 18/12/04 10:43 PM
i know just oversight found it when i tested and editted it thanks

i almsot forgot
to mention
you cant trigger that text event yourself

so it may just be that
if u want to test opena second copy and do it fromt hat copy
the original should respond
my version of the code works if u want to use it
Posted By: TimeChild Re: :text:-events - 18/12/04 11:11 PM
that seems not to be the prob.not one of the codes you guys gave me works,altough it has to.that's just the prob,most :text:-events seem to work fine but some doesn't altough the scripting is right.
this is an example : on 1:text:!aapna*:#: {
/set %mynick $me
/timermonkey1 1 60 /ruser monkeytalk $$2 3
/timermonkey2 1 61 /nick %mynick
/timermonkey3 1 1 /nick OE-OE|Bot
/guser -a monkeytalk $$2 3
}

on monkeytalk:text:*:#: { .Msg $chan $$1- 9,1[OE-OE-OE] }

<-----works fine on my other script ,but on the script i'm working on for a friend mirc doesn't want to execute this
Posted By: ricky_knuckles Re: :text:-events - 18/12/04 11:15 PM
ok
but the code we gave you
is on *
and there is no * after the text
i trust you did it like that
because it worked for me
on monkeytalk:text:*:#: { .Msg $chan $$1- 9,1[OE-OE-OE] }
i could be wrong but there should not be a space
on monkeytalk:text:*:# :{
or any other time that may be your problem is that space
Posted By: ethorn01 Re: :text:-events - 19/12/04 01:38 AM
another way to go about it would be
on *:text:*:#:{
if ($1 == !test) { /command }
if ($1 == !testing) { /command }
}
© mIRC Discussion Forums