Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on *:TEXT:*:#Imperial: { if (.Maplequiz == $1) {
- .notice $nick Hi there $nick $+ !, type .question to get your first question!
- .notice To find out how many points you have type .points
- }
- if (.signup == $1) && ($address($nick,2)) { $read(C:\Users\Name\Desktop\Variable.txt,w,$address($nick,2)) {
- if ($nick) && ($address($nick,2) == $read(C:\Users\Name\Desktop\Variable.txt,w,$address($nick,2))) {
- .notice $nick you've already registered
- }
- if ($nick) && ($address($nick,2) != $read(C:\Users\Name\Desktop\Variable.txt,w,$address($nick,2))) {
- /write C:\Users\Name\Desktop\Variable.txt $address($nick,2)
- .notice $nick You've now been registered!
- }
- set %Line $read(C:\Users\Name\Desktop\Variable.txt,n,$address($nick,2)) 1
- }
- }
- if (.question == $1) {
- .notice $nick $read(C:\Users\Name\Desktop\Questions.txt,n,%Line)
- }
- if (.answer == $1) {
- .notice $nick $read(C:\Users\Name\Desktop\Answers.txt,n,%Line)
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement