How do you get with a popup:
[N][A][M][E]
Popup:
Fun Stuff
.[N][A][M][E]:/say "That thing/code"
!?!?
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))
Simpler yet, just enter it exactly the same way you did here.
lol didn't even check to see. Yup, test an dworks.
menu menubar {
name
.[N][A][M][E]:/echo -a name
}
I'm not sure what you want exactly but could be this:
menu nicklist {
[N][A][M][E]:var %a | msg $active $null($regsub($$1,/(\S)/g,[\1],%a)) %a
}
Okay, it works, but how do i do it with
colors? =>
.:14:04:. <CDuck> [M][a][n][U][u][_][W][o][U][s][J][u][H]
<=
(now i need colors xD)
Erm, and:
* <CDuck> [H][E][L][L][O] [!][!]
To get your own text?
ON *:INPUT:*:{
var %a | msg $active $null($regsub($1-,/(\S)/g,14[1\114],%a)) %a
}
that works, but it's double:
(17:57) <Duck_Power> [t][e][s][t]
(17:57) <Duck_Power> test
ON ^1:INPUT:*:{
var %a | msg $active $null($regsub($1-,/(\S)/g,14[1\114],%a)) %a | halt
}
Cya!.-
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) )
ON ^1:INPUT:*:{
if $1- == Lol {
$replace($1-,Laughing Out Loud!)
}
}
hmz.. ;x replace Lol = Laughing out loud!
*Is stupid*
Don't use $1- == Lol.
Use: Lol isin $strip($1-)
The operator == only compare 1 word.
Cya!.-
/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:
on *:input:*: {
if ($left($1,1) == / || $ctrlenter) { return }
if (lol isin $strip($1-)) {
msg $target $replace($1-,lol,Laughing Out Loud)
halt
}
}
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.
True, though there's a reason for what I gave you.
Also, there's no reason to silence (.) a halt command.