mIRC Homepage
Posted By: DuXxXieJ [N][A][M][E] - 18/03/07 04:59 PM
How do you get with a popup:

[N][A][M][E]

Popup:

Fun Stuff
.[N][A][M][E]:/say "That thing/code"


!?!?

Posted By: DJ_Sol Re: [N][A][M][E] - 18/03/07 09:52 PM
Have you tried using $chr(91) & $chr(93) ?

$+($chr(91),N,$chr(93),$chr(91),A,$chr(93),$chr(91),M,$chr(93),$chr(91),E,$chr(93))
Posted By: RusselB Re: [N][A][M][E] - 18/03/07 10:29 PM
Simpler yet, just enter it exactly the same way you did here.
Posted By: DJ_Sol Re: [N][A][M][E] - 18/03/07 10:38 PM
lol didn't even check to see. Yup, test an dworks.

menu menubar {
name
.[N][A][M][E]:/echo -a name
}
Posted By: b1ink Re: [N][A][M][E] - 19/03/07 01:28 PM
I'm not sure what you want exactly but could be this:
Code:
menu nicklist {
[N][A][M][E]:var %a | msg $active $null($regsub($$1,/(\S)/g,[\1],%a)) %a
}
Posted By: DuXxXieJ Re: [N][A][M][E] - 21/03/07 01:05 PM
Okay, it works, but how do i do it with colors? smile

=>

.:14:04:. <CDuck> [M][a][n][U][u][_][W][o][U][s][J][u][H]

<=

(now i need colors xD)
Posted By: DuXxXieJ Re: [N][A][M][E] - 21/03/07 01:20 PM
Nvm, got it already:

Code:
menu nicklist {
  [N][A][M][E]:var %a | msg $active $null($regsub($$1,/(\S)/g,14[1\114],%a)) %a
}
Posted By: DuXxXieJ Re: [N][A][M][E] - 24/03/07 01:46 PM
Erm, and:

* <CDuck> [H][E][L][L][O] [!][!]

To get your own text?
Posted By: DuXxXieJ Re: [N][A][M][E] - 25/03/07 03:59 PM
Code:
ON *:INPUT:*:{
  var %a | msg $active $null($regsub($1-,/(\S)/g,14[1\114],%a)) %a
}


that works, but it's double:

Php Code:

(17:57) <Duck_Power> [t][e][s][t]
(17:57) <Duck_Power> test
 

Posted By: HuMoR Re: [N][A][M][E] - 25/03/07 04:07 PM
ON ^1:INPUT:*:{
var %a | msg $active $null($regsub($1-,/(\S)/g,14[1\114],%a)) %a | halt
}

Cya!.-
Posted By: DuXxXieJ Re: [N][A][M][E] - 25/03/07 04:29 PM
That ^1 was not good, it was *,

How do you msg a Window?

msg @Talker <txt> ???? (coz that doesnt work)


(then i see: * /msg: invalid window (line 12, popups.ini) )
Posted By: HuMoR Re: [N][A][M][E] - 25/03/07 04:45 PM
Code:
echo @Talker <txt>


Cya!.-
Posted By: DuXxXieJ Re: [N][A][M][E] - 25/03/07 05:19 PM
Code:
ON ^1:INPUT:*:{
   if $1- == Lol {
  $replace($1-,Laughing Out Loud!)
 }
}



hmz.. ;x replace Lol = Laughing out loud!


*Is stupid*
Posted By: HuMoR Re: [N][A][M][E] - 25/03/07 05:27 PM
Don't use $1- == Lol.
Use: Lol isin $strip($1-)
The operator == only compare 1 word.

Cya!.-
Posted By: Riamus2 Re: [N][A][M][E] - 25/03/07 06:03 PM
/help $replace

$replace($1-,lol,Laughing Out Loud)

Also, you aren't specifying what you want to happen with that. You should have it look like this:

Code:
on *:input:*: {
  if ($left($1,1) == / || $ctrlenter) { return }
  if (lol isin $strip($1-)) {
    msg $target $replace($1-,lol,Laughing Out Loud)
    halt
  }
}
Posted By: Riamus2 Re: [N][A][M][E] - 25/03/07 06:04 PM
Originally Posted By: HuMoR
ON ^1:INPUT:*:{
var %a | msg $active $null($regsub($1-,/(\S)/g,14[1\114],%a)) %a | halt
}


You don't need ^ on an on INPUT event.
Posted By: DuXxXieJ Re: [N][A][M][E] - 25/03/07 06:50 PM
I could use

Code:
ON *:INPUT:*:{
   if $1- == Lol {
  msg $chan Laughing Out Load!
 .halt
 }
}


Too

:P But thanks
Posted By: Riamus2 Re: [N][A][M][E] - 25/03/07 07:27 PM
True, though there's a reason for what I gave you. smile

Also, there's no reason to silence (.) a halt command.
© mIRC Discussion Forums