mIRC Homepage
Posted By: zys !help script - 25/04/06 03:33 PM
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.
Posted By: Im2good4u Re: !help script - 25/04/06 03:36 PM
/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
Posted By: zys Re: !help script - 25/04/06 03:42 PM
it still does nothing.
Posted By: Crinul Re: !help script - 25/04/06 04:54 PM
ON 1:TEXT:*!help*:#:/msg $nick blah blah
Posted By: schaefer31 Re: !help script - 25/04/06 06:19 PM
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.
Posted By: GTS Re: !help script - 26/04/06 02:40 AM
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.
Posted By: Kurdish_Assass1n Re: !help script - 26/04/06 04:14 PM
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
© mIRC Discussion Forums