mIRC Home    About    Download    Register    News    Help

Print Thread
#152762 05/07/06 10:05 AM
Joined: Jul 2006
Posts: 3
G
Gwsms1 Offline OP
Self-satisified door
OP Offline
Self-satisified door
G
Joined: Jul 2006
Posts: 3
I am trying to create some ! triggers where if i type !(command here) that itll post send a notice to the person
the kinds of commands i am wondering about is

!farms
will list all the objects in a list of farms!
!farms (Number) (number)
itll show only the farms listed equal or lower than the first number and the second number will have only the same or higher than the second number and also if only one is specified it will list the results of just that specified number.
!addfarm (number) (number)
this will add a farm to the list of other farms only sop and fop will be able to use it.
!request (msg)
this will be sent to the fop and sop in a notice to show a request from a regular user/op/hop etc

can u sum how make a system like this? i have no clue how to make a script like this!
would really help to have sumthin like this smirk


Edit: Hope im not confusing lmao although i know i prolly am wink

Last edited by Gwsms1; 05/07/06 10:11 AM.
#152763 05/07/06 10:57 AM
Joined: Jul 2005
Posts: 40
K
Ameglian cow
Offline
Ameglian cow
K
Joined: Jul 2005
Posts: 40
What's the farm list style ?
is it a INI file ?
a variable ?
how ?

shocked


j0k3r @ k4s.ch
#152764 05/07/06 11:10 AM
Joined: Jul 2006
Posts: 3
G
Gwsms1 Offline OP
Self-satisified door
OP Offline
Self-satisified door
G
Joined: Jul 2006
Posts: 3
ummm... id prolly make it a .txt file and have it so everytime i did the !addfarm command it would add the info to the .txt file

u think that would work : smirk ?


edit-
also have like a del or update command to update the list?

Last edited by Gwsms1; 05/07/06 11:11 AM.
#152765 06/07/06 08:30 AM
Joined: Jul 2006
Posts: 3
G
Gwsms1 Offline OP
Self-satisified door
OP Offline
Self-satisified door
G
Joined: Jul 2006
Posts: 3
sry for the double post but yea.... basically i got the commands working except here are sum specifics i want....
!farms will list all the farms in the farms.ini/.txt/ or w/e kind of file it should be any suggestions on the file type?
but can i get it so that !addfarms (param one which will be a name) (number1) (number2)
same for !delfarms
and make it so that only sop and fop's can use !addfarms and !delfarms
also make it so if a person wishes to request a farm they can type !request (number1) (number2) and it will notice all fop's and sop's!
also make farms so that if u type !farms (number1) (number2) it will show only farms > (lessthan) number1 and only farms with <(greater than) number 2

also if the number of farms = 0 then halt not sure how to do that...

if anyone knows how to do this plz help!


Link Copied to Clipboard