This is my first dialog created, so i am a newbie. I have created this dialog because it's usefull for all operators on irc, and it's very usefull for beginers.
There are some errors in the code (very simple) but please correct me.
And if you want tell me where to improve the code.
In the future i will make another version better than this one.
(sorry for my english)
The zip contains:
on operserv viewing gzlines akills etc ... the list command doesnt work .. clicking view sends mirc funny and for some reason it called the server channel list before showing the results?? !!!!
Yes, i have seen why.
In my code i've forgot to modify this:
if ($did == 127) { /msg operserv SZLINE VIEW mask | list }
in this:
if ($did == 127) { /msg operserv SZLINE VIEW $$?="mask|list" }
but even i dont know why it gets the channel list if i click on SZLine...
i am a beginer... so i'm learning. ^_^
doesnt look too bad on load. i did find some flaws immediately though..
on operserv viewing gzlines akills etc ... the list command doesnt work .. clicking view sends mirc funny and for some reason it called the server channel list before showing the results?? !!!!
not played with the other parts yet so cant comment fully on the snippet. for the moment the jury is out 50/50 on this one. also one of the screens on the snippet everything in the description is in a foreign language where other tabs it is in english .. minor faults yes but need rectifying. will re comment later on rest of script once tested more.
for now though .. not a bad job :)
Well, it was a good try but I think this kind of addons can be done by only a Menu in Channel/Status/...
This will give an error if the dialog is already open:
menu channel {
Servicii server: { dialog -m opersscript opersscript }
}
You can do it like this:
menu channel {
Servicii server:dialog $iif(!$dialog(opersscript),-m,-v) opersscript opersscript
}
Another thing about your dialog handling:
if ($did == 23) { /msg nickserv set language 1 }
if ($did == 24) { /msg nickserv set language 2 }
if ($did == 25) { /msg nickserv set language 3 }
if ($did == 26) { /msg nickserv set language 4 }
if ($did == 27) { /msg nickserv set language 5 }
if ($did == 28) { /msg nickserv set language 6 }
if ($did == 29) { /msg nickserv set language 7 }
if ($did == 30) { /msg nickserv set language 8 }
if ($did == 31) { /msg nickserv set language 9 }
if ($did == 32) { /msg nickserv set language 10 }
if ($did == 33) { /msg nickserv set language 11 }
if ($did == 34) { /msg nickserv set language 12 }
if ($did == 35) { /msg nickserv set language 13 }
This can be much shorter and easier:
on *:DIALOG:opersscript:sclick:23-35: {
msg nickserv set language $calc($did - 22)
}
Note: You don't need / in your codes, it's unnecessary. Btw, also there are more things that you can make them better...
Good luck ;)
The Compressed (zipped) Folder is invalid or corrupted
when i hit Extract all says No Files to Extract
so whats the deal ?????????????????????????
BLKoldSUN_
maybe your archive does not work. Mine works fine...
do not work ?? will it works on all others, plus it will not extract something thats not there