- 0
irc IRC Tokens
-
Recently Browsing 0 members
- No registered users viewing this page.
-
Similar Content
-
- 0 answers
- 386 views
-
- 1 answer
- 1153 views
-
- 3 answers
- 869 views
-
- 4 answers
- 4827 views
-
- 2 answers
- 611 views
-
By using this site, you agree to our Terms of Use and Privacy Policy.
Question
NXwolf
I'm trying to understand how tokens work in IRC. I want to create a couple scripts and what I need to know is how to create a global variable that will store tokens in it and then other scripts can modify that variable until it is unset. How do I go about creating such?
For example:
On event A
create global variable GV [ should be a set command to set a variable ]
On Event B
add token "1" to GV var. [ $addtok(%GV,1,32) ]
On Event C
add token "2" to GV var [ $addtok(%GV,2,32) ]
On Event D
Display GV (I want it to output "1 2". The space being the 32 ascii value in the addtok point) [ unsure how to display a full list ]
On Event E
delete global variable GV [ should just be an unset variable command ]
I can get the token values to output the tokens, but they only output the token of the given event, not all events.
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now