matthiasvegh Posted May 15, 2007 Share Posted May 15, 2007 hi all. i was wondering about whats the ability of mIRC? coz i want a few commands in irc, seeing as my scripts finally work on the rockstar assasins server!! ok. the commands would be: !adminchat <text> if ur an admin, then all admins get pms with <text> if not, insufficent admin rights or whateva. so would the code be.... elseif ($2 == !adminchat) || ($2 == !pmadminchat) if (2 > $vcmp.level($vcmp.getid(%name))) vcmp.say Error - Insufficient Admin Rights! elseif (!$3) vcmp.say Error - $2 <stuff> else {vcmp.say admin: $2 ..? anything helps thanx Link to comment https://gtaforums.com/topic/278290-mirc-admin-chat/ Share on other sites More sharing options...
[SDS]Rikku Posted May 16, 2007 Share Posted May 16, 2007 (edited) have you tried neatening up the code a bit? so its like this instead }elseif ($2 == !adminchat) || ($2 == !pmadminchat) if (2 > $vcmp.level($vcmp.getid(%name))) vcmp.say Error - Insufficient Admin Rights! elseif (!$3) vcmp.say Error - $2 <stuff> else {vcmp.say admin: $2} thats what i would do but it only increases performance but if you use a command that you have to type in like !pm <text here> then everyone will see the message anyway i dont know how to fix this though you can prolly try to make a command to chat to admins on mirc from vcmp i know thats possible but i cant do it im only just learning but good luck Edited May 16, 2007 by [SDS]Rikku Link to comment https://gtaforums.com/topic/278290-mirc-admin-chat/#findComment-4240095 Share on other sites More sharing options...
matthiasvegh Posted May 16, 2007 Author Share Posted May 16, 2007 hey thanx. um i was wondering.. a bilboard? maybe like this? } elseif (!bilboard iswm $2) || (!pmbilboard iswm $2) { if (5 > $vcmp.level($vcmp.getid(%name))) vcmp.say Error - Insufficient Admin Rights! if (%a == -1) vcmp.say Error - Absent ID/Name else vcmp.say $content of bilboard} Link to comment https://gtaforums.com/topic/278290-mirc-admin-chat/#findComment-4240159 Share on other sites More sharing options...
[SDS]Rikku Posted May 17, 2007 Share Posted May 17, 2007 That may be a good idea (btw its spelled billboard) Im trying to think of some new commands and hopefully release them. Maybe you could try make something that pops up every 5 mins or when typed in? hope you get your scripts to work Link to comment https://gtaforums.com/topic/278290-mirc-admin-chat/#findComment-4241701 Share on other sites More sharing options...
matthiasvegh Posted May 17, 2007 Author Share Posted May 17, 2007 oh ye, spelling mistake. hmm. iv benn thinking tho. maybe if mirc would say /msg 0 contents of billboard ? that way it could pm player 0 only thing back, is.. get mirc to find out the id of the player, ive represented mirc getting the id of player, with $vcmp.getid of course, this is used by other functions, but this way i could show u my idea }elseif (!billboard iswm $2) || (!pmbilboard iswm $2) { if (5 > $vcmp.level($vcmp.getid(%name))) vcmp.say Error - Insufficient Admin Rights! if (%a == -1) vcmp.say Error - Absent ID/Name else vcmp.say /msg $vcmp.getid(%name) $content of billboard} perhaps? every 5 mins? you should be able to do that with a simple timer. p.s we should work togethere on some scripts dont u think? i mean were both noobs in it, y not?? Link to comment https://gtaforums.com/topic/278290-mirc-admin-chat/#findComment-4241758 Share on other sites More sharing options...
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