Home
About
Download
Register
News
Help
Register
Log In
Forums
mIRC Help
Add something to a %var
Forums
Active Threads
Search
Who's Online
Help
Print Thread
Add something to a %var
#
158603
06/09/06
10:22 PM
Joined:
Jul 2004
Posts: 150
D
Debug
OP
Vogon poet
OP
Debug
Vogon poet
D
Joined:
Jul 2004
Posts: 150
Hi,
How can I add something to a var %test without losing the old values?
I have %test = soccer,football,volley,basket and i wanna put 2 more sports inside without removing all, how can i do this? I didnt saw nothing about this in /set.
Thanks.
Copy Link to Clipboard
Re: Add something to a %var
#
158604
06/09/06
10:23 PM
Joined:
Apr 2006
Posts: 464
Amsterdam, NL
O
OrionsBelt
Fjord artisan
OrionsBelt
Fjord artisan
O
Joined:
Apr 2006
Posts: 464
Amsterdam, NL
Something like :
var %test = %test $+ ,hockey,cricket,midgetgolf,bowling
Copy Link to Clipboard
Re: Add something to a %var
#
158605
06/09/06
10:47 PM
Joined:
Dec 2002
Posts: 2,962
Norwich, UK
S
starbucks_mafia
Hoopy frood
starbucks_mafia
Hoopy frood
S
Joined:
Dec 2002
Posts: 2,962
Norwich, UK
Assuming you want to have each sport separated by a comma, you can use the token identifiers.
For example:
Code:
%test = $addtok(%test,rugby,44)
Type
/help Token Identifiers
in mIRC to see a full list of token identifiers and how they work.
Spelling mistakes, grammatical errors, and stupid comments are intentional.
Copy Link to Clipboard
Hop To
News and Discussions ------
Latest News
General Discussion
Support ------
mIRC Help
Connection Issues
Scripts & Popups
Development ------
Feature Suggestions
Developers
Bug Reports
Print Thread
Switch to Threaded Mode
Show Likes
Link Copied to Clipboard
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
Forum Rules
·
Mark All Read
Contact Us
·
Help
·
mIRC Homepage