Jump to content

mIRC Admin Chat


Recommended Posts

matthiasvegh

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 rahkstar2.gif 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

[SDS]Rikku

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 wink.gif

Edited by [SDS]Rikku
Link to comment
https://gtaforums.com/topic/278290-mirc-admin-chat/#findComment-4240095
Share on other sites

matthiasvegh

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

matthiasvegh

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?? biggrin.gif

Link to comment
https://gtaforums.com/topic/278290-mirc-admin-chat/#findComment-4241758
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • 0 User Currently Viewing
    0 members, 0 Anonymous, 0 Guests

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.