DollarPlus: Difference between revisions

From Scriptwiki
Jump to navigation Jump to search
Aca20031 (talk | contribs)
m Changed the example, we have $ord for ordinals
m redirect to $+ as this is now possible as page name. Keeping as redirect so old links keep working
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
''Note: the name of this page refers to identifier $+ but is as it is due to technical limitations''
#Redirect [[$+]]
 
The identifier $+ is used to combine (catenate) items together when it's impossible just to write them together due to variables or identifiers.
 
$+ OR $+(...)
 
The identifier $+ is actually two different identifiers: one that is used just as $+ between items and another one that is used as $+(item1, item2, ..., itemN)
 
here we have so $+ me text  ;returns ''here we have some text''
$+(here,we,have,some,te $+ xt)  ;returns ''herewehavesometext''
 
When used that way, the identifier doesn't look too useful. But when we have a variable as an item, it's necessary to use either of these $+.
 
[[msg]] [[$chan]] You are [[$nick]] ( $+ [[$fulladdress]] $+ ) could return ''You are Dana (Dana!dana@script.quakenet.org)''
 
 
[[Category:Other Identifiers]]

Latest revision as of 21:44, 10 July 2013

Redirect to: