mIRC Home    About    Download    Register    News    Help

Print Thread
#105642 18/12/04 10:08 PM
Joined: Dec 2004
Posts: 2
T
Bowl of petunias
OP Offline
Bowl of petunias
T
Joined: Dec 2004
Posts: 2
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

#105643 18/12/04 10:37 PM
Joined: Nov 2004
Posts: 332
R
Fjord artisan
Offline
Fjord artisan
R
Joined: Nov 2004
Posts: 332
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
}

Last edited by ricky_knuckles; 18/12/04 10:43 PM.

The Kodokan will move you, one way or another.
#105644 18/12/04 10:42 PM
Joined: Mar 2004
Posts: 175
Vogon poet
Offline
Vogon poet
Joined: Mar 2004
Posts: 175
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 {.


- Relinsquish
#105645 18/12/04 10:43 PM
Joined: Nov 2004
Posts: 332
R
Fjord artisan
Offline
Fjord artisan
R
Joined: Nov 2004
Posts: 332
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

Last edited by ricky_knuckles; 18/12/04 11:21 PM.

The Kodokan will move you, one way or another.
#105646 18/12/04 11:11 PM
Joined: Dec 2004
Posts: 2
T
Bowl of petunias
OP Offline
Bowl of petunias
T
Joined: Dec 2004
Posts: 2
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

#105647 18/12/04 11:15 PM
Joined: Nov 2004
Posts: 332
R
Fjord artisan
Offline
Fjord artisan
R
Joined: Nov 2004
Posts: 332
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

Last edited by ricky_knuckles; 18/12/04 11:18 PM.

The Kodokan will move you, one way or another.
#105648 19/12/04 01:38 AM
Joined: Dec 2004
Posts: 23
E
Ameglian cow
Offline
Ameglian cow
E
Joined: Dec 2004
Posts: 23
another way to go about it would be
on *:text:*:#:{
if ($1 == !test) { /command }
if ($1 == !testing) { /command }
}


Link Copied to Clipboard