mIRC Home    About    Download    Register    News    Help

Print Thread
Auto Mesgz #132985 16/10/05 10:01 AM
Joined: Oct 2005
Posts: 1
S
Sarfaraz Offline OP
Mostly harmless
OP Offline
Mostly harmless
S
Joined: Oct 2005
Posts: 1
hi there.. im new on this server i want to set some auto msgz like.. if any one say on channel window, Hello Auto message will response with hello (nick).
and 2nd is i want to add shortcut commands like i want to say hello anywhere channel OR private i just type h OR hl please help me.
Code:
  

Re: Auto Mesgz #132986 16/10/05 10:37 AM
Joined: Jun 2005
Posts: 11
H
hantu Offline
Pikka bird
Offline
Pikka bird
H
Joined: Jun 2005
Posts: 11
You posted in the wrong forum, anyway..

For auto response, try reading /help ON TEXT if you needed more information. In your remote (ALT R) add in:
Code:
on *:TEXT:*hello*:#:msg $chan Hello $nick

Beware, that will reply "Hello Nick" whenever someone had "hello" in anywhere of their sentence, eg: "Woogie boo boo hello dee dee" or even "marshello"

For the shortcut commands, you can either do it via ON INPUT, or as an ALIAS (shortcut usually refers to ALIAS)

Add this to ALIAS section in your script editor, ALT R -> click ALIASES tab.
Code:
h { msg $active hello }
hl { msg $active hello }


- hantu
Re: Auto Mesgz #132987 17/10/05 12:58 PM
Joined: Oct 2004
Posts: 8,330
Riamus2 Offline
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
A couple things to help out...

First, to prevent someone flooding you from the server with "hello"...

Code:
on *:text:hello*:#yourchan: {
  if (%flood.hello == $null) {
    msg $chan Hello, $nick $+ .
    set -u5 %flood.hello 1
  }
}


Also, in case you don't know, if you use aliases as mentioned above, then to use them, you type /h or /hl instead of just typing h or hl.


Invision Support
#Invision on irc.irchighway.net