mIRC Home    About    Download    Register    News    Help

Print Thread
#147867 25/04/06 03:33 PM
Joined: Apr 2006
Posts: 2
Z
zys Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
Z
Joined: Apr 2006
Posts: 2
hello people.

i'm trying to make a script that basically responds to peoples input with a reply. it's for a game that's recently gone private BETA, and i'm trying to get a clean, straightforward script to answer questions.

i've tried

on *:text:!help:#: {
/msg blah blah
}

and some other snippets i've found, but they either do nothing, or say stuff in my status like "nickname cannot be found"

i have everything for the script written down, so i'm not asking for a full blown script, just how to make it so when people type stuff (!help, !helpcommands) etc, my client will /notice them with the relevant information

thanks in advance + i have looked around some scripting sites, but time if of the essence, which is why i haven't looked into the matter more before postinghere.

#147868 25/04/06 03:36 PM
Joined: Sep 2005
Posts: 116
I
Vogon poet
Offline
Vogon poet
I
Joined: Sep 2005
Posts: 116
/msg blah blah needs a channel or nickanme to message to so make it

/msg $nick blah blah

and ifd u wana notice use /notice $nick blah blah

#147869 25/04/06 03:42 PM
Joined: Apr 2006
Posts: 2
Z
zys Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
Z
Joined: Apr 2006
Posts: 2
it still does nothing.

#147870 25/04/06 04:54 PM
Joined: Feb 2006
Posts: 181
C
Vogon poet
Offline
Vogon poet
C
Joined: Feb 2006
Posts: 181
ON 1:TEXT:*!help*:#:/msg $nick blah blah

#147871 25/04/06 06:19 PM
Joined: Aug 2005
Posts: 525
S
Fjord artisan
Offline
Fjord artisan
S
Joined: Aug 2005
Posts: 525
Why are you using wildcards?

It should be:

Code:
on *:TEXT:!help:[color:red]#YourChannel[/color]:{
  msg $nick [color:red]Your response[/color]
}


If you try this and it doesn't work, then you have some other on TEXT even interferring with this one. A possible solution would be to remove any duplicate or similar on TEXT events. Or, you can go to File -> New in the remotes editor and paste the above code. That will work for sure.

#147872 26/04/06 02:40 AM
Joined: Dec 2002
Posts: 27
G
GTS Offline
Ameglian cow
Offline
Ameglian cow
G
Joined: Dec 2002
Posts: 27
Also note that you can't test the trigger with the instance of mirc, you're running the script on. That means someone else (or a clone) has to type !help.


proud to be baka
--> GTSdll Homepage <--
#147873 26/04/06 04:14 PM
Joined: Apr 2006
Posts: 400
K
Fjord artisan
Offline
Fjord artisan
K
Joined: Apr 2006
Posts: 400
Are you putting this into remotes or aliases?
make SURE you put it into remotes..

on *:TEXT:!help:#Channel: {
msg $nick I would be glad to help you!
}

and if it doesn't work, then try to do: File -> New
Because sometimes it interferes with other scripts, and doesn't trigger sometimes


-Kurdish_Assass1n

Link Copied to Clipboard