mIRC Home    About    Download    Register    News    Help

Print Thread
#23511 10/05/03 03:13 PM
P
pheonix
pheonix
P
how would i use the $replace command when the text i want to replace will be in a $$? input? :tongue:

#23512 10/05/03 03:57 PM
Joined: May 2003
Posts: 174
P
Vogon poet
Offline
Vogon poet
P
Joined: May 2003
Posts: 174
$replace($$?="Enter something",substring,newstring) ?

#23513 10/05/03 04:01 PM
P
pheonix
pheonix
P
cheers grin

#23514 10/05/03 04:26 PM
P
pheonix
pheonix
P
what might be wrong with this then confused? thanks in ahead

$replace($$?="reason?",*, $+ $r(0,15) $+ » $+  $+ $r(0,15) $+ ¤ $+  $+ $r(0,15) $+ $$?="reason?" $+  $+ $r(0,15) $+ ¤ $+  $+ $r(0,15) $+ «)

Last edited by pheonix; 10/05/03 04:28 PM.
#23515 10/05/03 04:36 PM
T
theRat
theRat
T
pretty much everything...
$+(,$r(0,15),»,$r(0,15),¤,$r(0,15),$$?="reason?",,$r(0,15),¤,,$r(0,15)«)

#23516 10/05/03 04:58 PM
P
pheonix
pheonix
P
no i mean for example
if i type whatever in the box
i want it to come back like this:
15»15¤15whatever15¤15«
thats if 15 was the result of the random color code

#23517 11/05/03 07:48 AM
A
Acid_X
Acid_X
A
You're basically telling it to replace the character * with all of that nonsense. You could always make $$?="Reason" set to a variable like so: /set %reason% $$?="Reason:" - And then you could echo it out with all the decorations like so: /echo (decorations here) %reason% (more decorations)... Etc.

Hopefully this helps you. Haha.


Link Copied to Clipboard