mIRC Home    About    Download    Register    News    Help

Print Thread
#49346 14/09/03 06:03 AM
Joined: Dec 2002
Posts: 111
E
Vogon poet
OP Offline
Vogon poet
E
Joined: Dec 2002
Posts: 111
on 1:text:help*:#: {
/msg jom4m4 test
halt
}



that simple code doesnt work

* Loaded script 'C:\Program Files\mIRC\script.ini'
<JoM4m4> help asd


no response from the script

the only time i can get a response from the script is if it is:
on 1:text:*:#:

lol whats going on?

Joined: Dec 2002
Posts: 3,138
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
Works fine for me, make sure you dont have a /msg alias.

Joined: Dec 2002
Posts: 111
E
Vogon poet
OP Offline
Vogon poet
E
Joined: Dec 2002
Posts: 111
its straight clean install of mirc 6.1

i dunno maybe its just freakin on me, ive had mirc become unstable on me before from too much scripting lol

Joined: Mar 2003
Posts: 1,271
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Mar 2003
Posts: 1,271
You can delete the halt, it doesn't do anything. Also, is this the first on TEXT event in your script file? If not, combine all your on text events into one.


DALnet #Helpdesk
I hear and I forget. I see and I remember. I do and I understand. -Confucius
Joined: Jul 2003
Posts: 655
Fjord artisan
Offline
Fjord artisan
Joined: Jul 2003
Posts: 655
Is JoM4m4's text plain, that is no mirc codes... would cause the error.

try...

on 1:text:*help*:#:{ /msg jom4m4 test }


"Allen is having a small problem and needs help adjusting his attitude" - Flutterby
Joined: Jan 2003
Posts: 150
J
Vogon poet
Offline
Vogon poet
J
Joined: Jan 2003
Posts: 150
make one big on text event

Code:
on 1:text:*:#: {
  if ($1 == help) { msg jom4m4 $nick asked for help }
  elseif ($1 == op) { msg jom4m4 $nick asked for op }
  ;...... and so on
}


Go ahead, jump. 100,000 lemmings can't be wrong.
Joined: Dec 2002
Posts: 21
L
Ameglian cow
Offline
Ameglian cow
L
Joined: Dec 2002
Posts: 21
Maybe I'm getting old and forgetful, but . . .

Isnt it still true that you cant trigger your own events?


Listner



Morals: When the p0rn shop gives you too much change, and you don't keep it.
Joined: Dec 2002
Posts: 3,138
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
It's true for on TEXT and on ACTION.

Joined: Aug 2003
Posts: 148
K
Vogon poet
Offline
Vogon poet
K
Joined: Aug 2003
Posts: 148
on 1:text:help *:#: {
/msg jom4m4 test
}


_________
may death strike you.
Joined: Dec 2002
Posts: 111
E
Vogon poet
OP Offline
Vogon poet
E
Joined: Dec 2002
Posts: 111
ah u cant trigger your own events for on text?


that would be my problem then


i did not know that :P


Link Copied to Clipboard