This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Identifier

Old posts that have not been replied to for several years.
Locked
E
Electone

Post by Electone »

What's the identifier in tcl for $+ in mIRC scripting? In terms of mIRC scripting I'm doing a $nick $+ .

Thanks
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

Mirc is a stupid language when it comes to this sort of thing, it provides no smart readers, and expects you to be extremly strinct with it's syntax. Mircs language was the XML on 90's.

In Tcl, if you are using variable that look like they might conflict with other names, you should enclose the name in { and }. This is also good programing practice, as it gurentees that a var name is being used corectly.

eg

hello ${nick}${name}

Note, these are not identifiers. Just becuase they are in mirc, that does not mean that 100% of your knoledge is 100% Tcl compatible. Read through the Tcl man pages at http://tcl.activestate.com/ for more information. There are no identifiers, aliases or remotes in Tcl, just goof old commands, procedures and variables.

<font size=-1>[ This Message was edited by: ppslim on 2001-11-18 09:13 ]</font>
Locked