mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Aug 2003
Posts: 3
R
rouge Offline OP
Self-satisified door
OP Offline
Self-satisified door
R
Joined: Aug 2003
Posts: 3
I need a script to compair my queues and the nicks in a channel so it will remove a queue if the user leaves a channel

I am trying to learn scripting but have no idea where to start

Joined: Mar 2003
Posts: 1,271
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Mar 2003
Posts: 1,271
Decide how you want to store the que. You can choose between hash tables, txt files, ini files, a dialog and custom windows. What you want takes a bit of knowledge, so I'd get a decent knowledge base to work with before attempting it.

Try this url for a very good introduction to mIRC scripting.


DALnet #Helpdesk
I hear and I forget. I see and I remember. I do and I understand. -Confucius
Joined: Aug 2003
Posts: 3
R
rouge Offline OP
Self-satisified door
OP Offline
Self-satisified door
R
Joined: Aug 2003
Posts: 3
thanks for the reply
I am thinking file like .ini
I know how to read a file compare it to another and create an action based on the result
but I know nothing about dialogs and display shocked

Joined: Mar 2003
Posts: 1,271
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Mar 2003
Posts: 1,271
If you are planning a big queue I'd seriously suggest reconsidering toward hashtables or windows - anything away from an actual file. Anyway, ini can work - use $readini , /writeini , /remini. For dialogs, I suggest you study the tutorial on our website:

http://helpdesk.zaz.net/documents/dialog/dialog.html for the beginner
http://helpdesk.zaz.net/documents/nextstep.php once you have the basics down

And if you have a bit more specific questions, you can always ask here.


DALnet #Helpdesk
I hear and I forget. I see and I remember. I do and I understand. -Confucius
Joined: Aug 2003
Posts: 3
R
rouge Offline OP
Self-satisified door
OP Offline
Self-satisified door
R
Joined: Aug 2003
Posts: 3
The info you provided was Great but now i am confused about this script I am going to write where do i write it the tutorial was not clear about that do i write a txt and load it like an alias do i put it in the remote section or all the above.

once i have that strait in my mind i belive i can start putting this all together

once again Thank you for your help grin

Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
Simply open up the remote script editor (alt + r) and paste your code in there, remember when you do not wish to put any more code in a script, click File > New.. and start a new one in a blank screen. grin

Joined: Aug 2003
Posts: 5
K
Nutrimatic drinks dispenser
Offline
Nutrimatic drinks dispenser
K
Joined: Aug 2003
Posts: 5
Hi Dear, how are you

Dear you can use some redy command if you like there is some redy command at my site

http://www.kankouni.net/addon

any thing else you can ask in #helpdesk

bye


Mr.KanKouni

Link Copied to Clipboard