mIRC Home    About    Download    Register    News    Help

Topic Options
#245701 - 03/05/14 11:16 AM change nick script on text
Oxize Offline
Self-satisified door

Registered: 03/05/14
Posts: 4
Hi searching for an script which allows other users to change my name and i say something back and change my nick back to original

For example

Someone types bleep in the chat

My name changes to RD2D
I say bleep back
My name changes back to Original

Is this possible to make? If so, how?

Top
#245702 - 03/05/14 11:20 AM Re: change nick script on text [Re: Oxize]
Nillen Offline
Hoopy frood

Registered: 24/12/13
Posts: 779
Loc: Sweden
Code:
on *:text:bleep:#: {
  var %o $me
  nick R2D2
  .notice $nick bleep
  nick %o
}
_________________________
Nillens @ irc.twitch.tv
Nillen @ irc.rizon.net

Top
#245703 - 03/05/14 11:22 AM Re: change nick script on text [Re: Nillen]
Oxize Offline
Self-satisified door

Registered: 03/05/14
Posts: 4
Thanks!

Top
#245719 - 04/05/14 09:02 PM Re: change nick script on text [Re: Nillen]
Oxize Offline
Self-satisified door

Registered: 03/05/14
Posts: 4
Tried it out, but ppl who said the bleep text get a notice. Is it possible to let other also see the chat text (normal chat or /me) by not using notice?

And maybe some delay between all 3 actions? (nick change, text, nick original)


Edited by Oxize (04/05/14 09:14 PM)

Top
#245720 - 04/05/14 09:45 PM Re: change nick script on text [Re: Oxize]
judge2020 Offline
Fjord artisan

Registered: 21/03/14
Posts: 215
Loc: USA
change | .notice | to | msg $chan [message] |
_________________________
#imAbeginner
i made a chat bot for mark_paintball! http://twitch.tv/mark_paintball

Top
#245722 - 04/05/14 09:58 PM Re: change nick script on text [Re: Oxize]
Nillen Offline
Hoopy frood

Registered: 24/12/13
Posts: 779
Loc: Sweden
Code:
on *:text:bleep:#: {
  var %o $me
  nick R2D2
  .notice $nick bleep
  nick %o
}
Is your original code. If you want to add timers to the individual tasks, just put
Code:
timer 1 2 nick R2D2
etc. The 1 showing how often you want to repeat this task, and the 2 showing how long it'll take between each repeat.
If you want others to know of the bleep as well you'll want to use
Code:
msg # bleep
instead. You can also use stuff like
Code:
describe # starts bleeping uncontrollably at $nick $+ .
to make a description of the event rather than a message.
_________________________
Nillens @ irc.twitch.tv
Nillen @ irc.rizon.net

Top