Top

Fake messages


mIRC Code
+ 0 likes
Please Register to submit score.
Bookmark and Share
Average Score  7.0 (of 2 scores)
Date Added  Jun 18, 2009
Last Updated  Jun 20, 2009
Tags  fake  mirc  random  script  time 

Introduction

A simple alias to make and msg a fake irc message. Nothing big, and its pretty useless.

The -T is an optional thing for a random, valid, time.

Syntax:

/Fake Nick Message
/Fake -T Nick Message
/Fake -T**:**:** Nick Message

If theres a way to merge line 2 and 3 together, let me know. I couldn't seem to get it to work right with them together.

Grab the Code

alias fake {
  if ($1 == $null) || ($2 == $null) { echo -a Wrong syntax:7 /Fake 14[-15t14] 7Name 8Message }
  elseif (-t isin $1) && ($3 == $null) { echo -a Wrong syntax:7 /Fake 14[-15t14] 7Name 8Message }
  elseif (-t isin $1) && ($1 != -t) { msg $active $chr(3) $+ 12 $+ $chr(187) $+ ( $+ $replace($1,$chr(45) $+ t,$null) $+ ) $+ $chr(171) $+ $chr(3) $+ 7 $+ $chr(32) $+ < $+ $2 $+ > $chr(32) $+ $3- }
  elseif (-t isin $1) && ($1 == -t) { msg $active $chr(3) $+ 12 $+ $chr(187) $+ ( $+ $fakestamp $+ ) $+ $chr(171) $+ $chr(3) $+ 7 $+ $chr(32) $+ < $+ $2 $+ > $chr(32) $+ $3- }
  elseif (-t !isin $1) { msg $active $chr(3) $+ 12 $+ $timestamp $+ $chr(3) $+ 7 $+ $chr(32) $+ < $+ $1 $+ > $chr(32) $+ $2-
  }
}
 
alias fakestamp {
  var %fake.1 $rand(1,23) | var %fake.2 $rand(1,59) | var %fake.3 $rand(1,59)
  if (%fake.1 == 10) || (%fake.1 > 10) { var %fake.fixed-1 %fake.1 }
  if (%fake.2 == 10) || (%fake.2 > 10) { var %fake.fixed-2 %fake.2 }
  if (%fake.3 == 10) || (%fake.3 > 10) { var %fake.fixed-3 %fake.3 }
  elseif (%fake.1 < 10) { var %fake.fixed-1 $replace(%fake.1,%fake.1,0 $+ %fake.1) }
  elseif (%fake.2 < 10) { var %fake.fixed-2 $replace(%fake.2,%fake.2,0 $+ %fake.2) }
  elseif (%fake.3 < 10) { var %fake.fixed-3 $replace(%fake.3,%fake.3,0 $+ %fake.3) }
  return %fake.fixed-1 $+ : $+ %fake.fixed-2 $+ : $+ %fake.fixed-3 
}
 
on *:LOAD: { echo -a Any problems with this script, please post them on12 http://www.hawkee.com/snippet/6321 - Syntax: 7/Fake 14[-15t14] 7Name 8Message  }

Comments

  (5)  RSS
Zeldy
Comments: 2
 
mIRC Snippet:  Fake messages
Posted on Jun 18, 2009 7:57 pm
Anything you think I can add to make it actually usefull/make it any better, just comment on here.
PATX
Comments: 389
 
mIRC Snippet:  Fake messages
Posted on Jun 19, 2009 2:16 pm
so this just pm a nick tell it to unless u set -T where it is random? i would make like:

/fake <msg>

and then it would pm someone at random.
Zeldy
Comments: 2
 
mIRC Snippet:  Fake messages
Posted on Jun 19, 2009 4:56 pm
No, it's mainly for use in channels, but will work in pm's too, although I don't think adding a random nick in to it would be a good idea, it would only cause un-needed highlights.

the syntax's would be:

/Fake @Bob Hi
Returns: »(22:53:18)« <@Bob> Hi
22:53:18 was my current time, to look like it was just said.

/Fake -T @Bob Hi
Returns: »(19:29:29)« <@Bob> Hi
19:29:29 is a random time.

/Fake -T13:33:37 @Bob Hi
Returns: »(13:33:37)« <@Bob> Hi
13:33:37 was a set time.
PATX
Comments: 389
 
mIRC Snippet:  Fake messages
Posted on Jun 19, 2009 6:04 pm
oooo i see this is awesome! 9/10 i really like!!! keep it up the good work!
WorldDMT
Comments: 171
 
mIRC Snippet:  Fake messages
Posted on Jun 20, 2009 6:32 am
hi

u can replace this
var %fake.1 $rand(1,23) | var %fake.2 $rand(1,59) | var %fake.3 $rand(1,59)
by this

var %fake.1 $rand(1,23),%fake.2 $rand(1,59),%fake.3 $rand(1,59)

u can also remove the "halt" it's unless

u can replace "$replace($1,$chr(45) $+ t,$null)" by "$remove($1,-t)"

about alias fakestamp can be like this

Code:
alias fakestamp return $duration($r(0,86399),3)


and u can put it directly into code "$duration($r(0,86399),3)"

u have to make a condition to check if the time format is good or not mabe some one type -tbamboo u'll not get a time here

your code can be like this

Code:
alias fake {
  if ($regex($1,\-t((\d{2}(:\d{2}){2})|()))) msg $active $+($chr(3),12,»,$chr(40),$iif($regml(1),$v1,$duration($r(0,86399),3)),$chr(41),«,$chr(3),7) $+(<,$2,>) $3-
  elseif (($1) && ($2)) msg $active $+($chr(3),12,$chr(3),7) $+(<,$1,>) $2-
  else echo -a Wrong syntax:7 /Fake 14[-15t14] 7Name 8Message
}



Commenting Options

Register or Login to Hawkee.com or use your Facebook or Twitter account by clicking the corresponding button below.

  
Bottom