mIRC Home    About    Download    Register    News    Help

Print Thread
#8316 25/01/03 07:37 PM
Joined: Dec 2002
Posts: 483
Deep3D Offline OP
Pan-dimensional mouse
OP Offline
Pan-dimensional mouse
Joined: Dec 2002
Posts: 483
how to make somthing like this? help me smile

msg $active $replace($1-,
wb,welcome back
lol,laughs out loud
brb,be right back
)

Code:

  if %shortcut == on {
    if (/* !iswm $1) { 
      msg $active $replace($1-,wb,welcome back,lol,laughs out loud,brb,be right back)
      halt
    } 


one more thing... how do i get this to work?
Code:
  if (+o isin $usermode) {
    echo.grey $nick is an oper...
  }

Last edited by Deep3D; 25/01/03 07:45 PM.
#8317 25/01/03 07:45 PM
Joined: Dec 2002
Posts: 16
A
amr Offline
Pikka bird
Offline
Pikka bird
A
Joined: Dec 2002
Posts: 16
i would use an on:input: thing...lemme have a look in my codes, see if i already have made one

#8318 25/01/03 07:47 PM
Joined: Dec 2002
Posts: 3,138
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
Read Hammer's post here.

#8319 25/01/03 09:25 PM
Joined: Dec 2002
Posts: 2,809
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 2,809
personally I'd use regex, it is cleaner, and prolly faster too...

#8320 26/01/03 12:19 AM
Joined: Jan 2003
Posts: 10
L
Pikka bird
Offline
Pikka bird
L
Joined: Jan 2003
Posts: 10
I'm not sure if this is exactly what you need, but maybe this: on 1:INPUT:*brb*:#:msg $active Be Right Back
You can use that for all the other stuff too. Does this help?


[irc://irc.mircx.com:6667/] - #Scripts, #Gmforum.cjb.net
#8321 26/01/03 01:23 PM
Joined: Dec 2002
Posts: 339
F
Fjord artisan
Offline
Fjord artisan
F
Joined: Dec 2002
Posts: 339


Link Copied to Clipboard